Class Plugins

java.lang.Object
net.storm.sdk.plugins.Plugins

public class Plugins extends Object
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 Details

    • Plugins

      public Plugins()
  • Method Details

    • isEnabled

      public static boolean isEnabled(Plugin plugin)
      Checks whether a specific plugin is currently enabled.
      Parameters:
      plugin - the plugin to check
      Returns:
      true if the plugin is enabled, false otherwise
    • stopPlugin

      public static boolean stopPlugin(Plugin plugin)
      Stops a running plugin.
      Parameters:
      plugin - the plugin to stop
      Returns:
      true if the plugin was successfully stopped, false otherwise
    • startPlugin

      public static boolean startPlugin(Plugin plugin)
      Starts a plugin.
      Parameters:
      plugin - the plugin to start
      Returns:
      true if the plugin was successfully started, false otherwise