Constructor and Description |
---|
HookHandler(com.djrapitops.pluginbridge.plan.Bridge bridge,
PluginsConfigSection configHandler,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
addPluginDataSource(PluginData dataSource)
Adds a new PluginData source to the list.
|
void |
disable()
Performs disable actions for the subsystem
|
void |
enable()
Performs enable actions for the subsystem.
|
java.util.List<PluginData> |
getAdditionalDataSources()
Used to get all PluginData objects currently registered.
|
java.util.Map<PluginData,InspectContainer> |
getInspectContainersFor(java.util.UUID uuid) |
@Inject public HookHandler(com.djrapitops.pluginbridge.plan.Bridge bridge, PluginsConfigSection configHandler, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void enable()
SubSystem
public void disable()
SubSystem
public void addPluginDataSource(PluginData dataSource)
The plugin data will appear on Analysis and/or Inspect pages depending on how the extending object is set up.
Refer to documentation on GitHub for more information.
dataSource
- an object extending the PluginData class.public java.util.List<PluginData> getAdditionalDataSources()
public java.util.Map<PluginData,InspectContainer> getInspectContainersFor(java.util.UUID uuid)