Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic interface HookProvider
| Modifier and Type | Method and Description |
|---|---|
Hook |
createHook()
Creates and returns an instance of the Hook for the specified plugin.
|
@NotNull String |
getDescription()
Gets the description of the plugin.
|
String |
getName()
Gets the name of the plugin that this hook is associated with.
|
@Nullable HookRegistry |
getRegistry() |
@NotNull String |
getUrl()
Gets the URL of the plugin (e.g., for documentation or downloads).
|
boolean |
isAvailable()
Checks whether the target component is available on the platform.
|
boolean |
isCompatible()
Checks whether this HookProvider is compatible with the current platform.
|
boolean |
isEnabled()
Checks whether this HookProvider itself is enabled.
|
void |
setDescription(@NotNull String description)
Sets the description of the plugin.
|
void |
setRegistry(@NotNull HookRegistry registry) |
void |
setUrl(@NotNull String url)
Sets the URL of the plugin.
|
Hook createHook()
String getName()
@NotNull @NotNull String getDescription()
void setDescription(@NotNull
@NotNull String description)
description - the plugin description to set.@NotNull @NotNull String getUrl()
void setUrl(@NotNull
@NotNull String url)
url - the plugin URL to set.boolean isEnabled()
boolean isAvailable()
boolean isCompatible()
@Nullable @Nullable HookRegistry getRegistry()
void setRegistry(@NotNull
@NotNull HookRegistry registry)
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy