T
- ServiceComparable<RegisteredServiceProvider<?>>
public class RegisteredServiceProvider<T> extends Object implements Comparable<RegisteredServiceProvider<?>>
Constructor | Description |
---|---|
RegisteredServiceProvider(@NotNull Class<T> service,
T provider,
@NotNull ServicePriority priority,
@NotNull Plugin plugin) |
Modifier and Type | Method | 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<T>
Copyright © 2020. All rights reserved.