| Package | Description |
|---|---|
| com.nukkitx.api.service |
| Modifier and Type | Method and Description |
|---|---|
ServicePriority |
ServiceProvider.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 |
|---|---|
<T> boolean |
ServiceManager.register(Class<T> service,
T provider,
Object plugin,
ServicePriority priority)
Register an object as a service's provider.
|
Copyright © 2018 NukkitX. All rights reserved.