Package | Description |
---|---|
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull 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 | Description |
---|---|---|
<T> void |
ServicesManager.register(@NotNull Class<T> service,
T provider,
@NotNull Plugin plugin,
@NotNull ServicePriority priority) |
Register a provider of a service.
|
<T> void |
SimpleServicesManager.register(@NotNull Class<T> service,
T provider,
@NotNull Plugin plugin,
@NotNull ServicePriority priority) |
Register a provider of a service.
|
Constructor | Description |
---|---|
RegisteredServiceProvider(@NotNull Class<T> service,
T provider,
@NotNull ServicePriority priority,
@NotNull Plugin plugin) |
Copyright © 2020. All rights reserved.