Enum Class BooleanOption

java.lang.Object
java.lang.Enum<BooleanOption>
dev.despical.whackme.option.BooleanOption
All Implemented Interfaces:
ConfigOption<Boolean>, Serializable, Comparable<BooleanOption>, Constable

public enum BooleanOption extends Enum<BooleanOption> implements ConfigOption<Boolean>
  • Enum Constant Details

    • DISABLE_COMMANDS_WHILE_PLAYING

      public static final BooleanOption DISABLE_COMMANDS_WHILE_PLAYING
    • BLOCK_OUTSIDE_CHAT

      public static final BooleanOption BLOCK_OUTSIDE_CHAT
    • DISABLE_CHAT_IN_GAME

      public static final BooleanOption DISABLE_CHAT_IN_GAME
    • ENABLE_CHAT_FORMATTING

      public static final BooleanOption ENABLE_CHAT_FORMATTING
    • BLOCK_LEAVE_COMMAND

      public static final BooleanOption BLOCK_LEAVE_COMMAND
    • SCOREBOARD_ENABLED

      public static final BooleanOption SCOREBOARD_ENABLED
    • DEBUG

      public static final BooleanOption DEBUG
    • EVENT_PROFILING_ENABLED

      public static final BooleanOption EVENT_PROFILING_ENABLED
    • EVENT_PROFILING_VERBOSE

      public static final BooleanOption EVENT_PROFILING_VERBOSE
    • UPDATE_NOTIFIER

      public static final BooleanOption UPDATE_NOTIFIER
  • Method Details

    • values

      public static BooleanOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BooleanOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPath

      public String getPath()
      Specified by:
      getPath in interface ConfigOption<Boolean>
    • getType

      public Class<Boolean> getType()
      Specified by:
      getType in interface ConfigOption<Boolean>
    • getDefaultValue

      public Boolean getDefaultValue()
      Specified by:
      getDefaultValue in interface ConfigOption<Boolean>