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