T
- Servicepublic class RegisteredServiceProvider<T> extends Object implements Comparable<RegisteredServiceProvider<?>>
Constructor and Description |
---|
RegisteredServiceProvider(@NotNull Class<T> service,
T provider,
@NotNull ServicePriority priority,
@NotNull Plugin plugin) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NotNull RegisteredServiceProvider<?> other) |
@NotNull Plugin |
getPlugin() |
@NotNull ServicePriority |
getPriority() |
T |
getProvider() |
@NotNull Class<T> |
getService() |
@NotNull public @NotNull ServicePriority getPriority()
public int compareTo(@NotNull @NotNull RegisteredServiceProvider<?> other)
compareTo
in interface Comparable<RegisteredServiceProvider<?>>
Copyright © 2021. All rights reserved.