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()  | 
public RegisteredServiceProvider(@NotNull
                                 @NotNull Class<T> service,
                                 @NotNull
                                 T provider,
                                 @NotNull
                                 @NotNull ServicePriority priority,
                                 @NotNull
                                 @NotNull Plugin plugin)
@NotNull public @NotNull Plugin getPlugin()
@NotNull public T getProvider()
@NotNull public @NotNull ServicePriority getPriority()
public int compareTo(@NotNull
                     @NotNull RegisteredServiceProvider<?> other)
compareTo in interface Comparable<RegisteredServiceProvider<?>>Copyright © 2021. All rights reserved.