Interface IPlugins


public interface IPlugins
Simplified interface for basic plugin control operations.

IPlugins provides a streamlined API for checking plugin status and starting/stopping plugins. This interface is useful for quick plugin management operations without the full functionality of PluginManager.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnabled(Plugin plugin)
    Checks if a plugin is currently enabled.
    boolean
    Starts a plugin.
    boolean
    Stops a running plugin.
  • Method Details

    • isEnabled

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

      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

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