Class Setting.Plugin

java.lang.Object
com.tenio.core.configuration.setting.Setting.Plugin
Enclosing class:
Setting

public static final class Setting.Plugin extends Object
A mapping class which references to this setting.json file.
  • Constructor Details

    • Plugin

      public Plugin()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Checks whether this command is enabled.
      Returns:
      true if the command is enabled, otherwise, returns false
    • setEnabled

      public void setEnabled(boolean enabled)
      Setups the command.
      Parameters:
      enabled - sets its value to true to enable the command, otherwise, put the value false
    • getPath

      public String getPath()
      Retrieves the plugin executable file's path.
      Returns:
      the plugin path
    • setPath

      public void setPath(String path)
      Sets the plugin executable file's path.
      Parameters:
      path - the file's path
    • toString

      public String toString()
      Overrides:
      toString in class Object