| Package | Description |
|---|---|
| org.cloudburstmc.server.plugin.service |
| Modifier and Type | Method and Description |
|---|---|
ServicePriority |
RegisteredServiceProvider.getPriority() |
static ServicePriority |
ServicePriority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServicePriority[] |
ServicePriority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> boolean |
NKServiceManager.provide(Class<T> service,
T instance,
Plugin plugin,
ServicePriority priority) |
<T> boolean |
NKServiceManager.register(Class<T> service,
T provider,
Plugin plugin,
ServicePriority priority) |
<T> boolean |
ServiceManager.register(Class<T> service,
T provider,
Plugin plugin,
ServicePriority priority)
Register an object as a service's provider.
|
Copyright © 2020. All rights reserved.