Enum Class FrameworkOption

java.lang.Object
java.lang.Enum<FrameworkOption>
me.despical.commandframework.options.FrameworkOption
All Implemented Interfaces:
Serializable, Comparable<FrameworkOption>, Constable

public enum FrameworkOption extends Enum<FrameworkOption>
Author:
Despical

Created at 18.07.2024

See Also:
  • Enum Constant Details

    • CUSTOM_COOLDOWN_CHECKER

      public static final FrameworkOption CUSTOM_COOLDOWN_CHECKER
      This option allows user to call CommandArguments.checkCooldown() method.
    • CONFIRMATIONS

      public static final FrameworkOption CONFIRMATIONS
      This option allows users to check for command confirmations.
    • DEBUG

      public static final FrameworkOption DEBUG
      This option enables the debug mode for this framework.
  • Method Details

    • values

      public static FrameworkOption[] 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 FrameworkOption 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