Class Setting.Command

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

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

    • Command

      public Command()
  • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object