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