public abstract class Plugin
extends java.lang.Object
| Constructor and Description |
|---|
Plugin() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Hook> |
getHooks(EnvironmentMetadata metadata)
Gets a list of hooks that the plugin wants to register.
|
abstract PluginMetadata |
getMetadata() |
abstract void |
register(LDClient client,
EnvironmentMetadata metadata)
Registers the plugin with the SDK.
|
public abstract PluginMetadata getMetadata()
PluginMetadata that gives details about the plugin.public abstract void register(LDClient client, EnvironmentMetadata metadata)
client - for the plugin to usemetadata - metadata about the environment where the plugin is running.public java.util.List<Hook> getHooks(EnvironmentMetadata metadata)
metadata - metadata about the environment where the plugin is running.