Package net.storm.sdk.plugins
Class Plugins
java.lang.Object
net.storm.sdk.plugins.Plugins
Utility class for managing plugins in the Storm client.
This class provides static methods to check plugin status and control
plugin lifecycle (start/stop). It acts as a facade to the underlying
IPlugins implementation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether a specific plugin is currently enabled.static booleanstartPlugin(Plugin plugin) Starts a plugin.static booleanstopPlugin(Plugin plugin) Stops a running plugin.
-
Constructor Details
-
Plugins
public Plugins()
-
-
Method Details
-
isEnabled
Checks whether a specific plugin is currently enabled.- Parameters:
plugin- the plugin to check- Returns:
trueif the plugin is enabled,falseotherwise
-
stopPlugin
Stops a running plugin.- Parameters:
plugin- the plugin to stop- Returns:
trueif the plugin was successfully stopped,falseotherwise
-
startPlugin
Starts a plugin.- Parameters:
plugin- the plugin to start- Returns:
trueif the plugin was successfully started,falseotherwise
-