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