Enum ACommand.ExecutorType

java.lang.Object
java.lang.Enum<ACommand.ExecutorType>
com.olziedev.playerauctions.api.auction.command.ACommand.ExecutorType
All Implemented Interfaces:
Serializable, Comparable<ACommand.ExecutorType>, java.lang.constant.Constable
Enclosing class:
ACommand

public static enum ACommand.ExecutorType extends Enum<ACommand.ExecutorType>
List of all possible executor types an auction command can have.
  • Enum Constant Details

    • PLAYER_ONLY

      public static final ACommand.ExecutorType PLAYER_ONLY
      Only players can execute the command.
    • CONSOLE_ONLY

      public static final ACommand.ExecutorType CONSOLE_ONLY
      Only console can execute the command.
  • Method Details

    • values

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

      public static ACommand.ExecutorType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null