Enum Class ArgType

java.lang.Object
java.lang.Enum<ArgType>
top.magstar.framework.commands.ArgType
All Implemented Interfaces:
Serializable, Comparable<ArgType>, Constable

public enum ArgType extends Enum<ArgType>
  • Enum Constant Details

    • STRING

      public static final ArgType STRING
    • INTEGER

      public static final ArgType INTEGER
    • DOUBLE

      public static final ArgType DOUBLE
    • BOOLEAN

      public static final ArgType BOOLEAN
    • PLAYER

      public static final ArgType PLAYER
    • WORLD

      public static final ArgType WORLD
    • MATERIAL

      public static final ArgType MATERIAL
    • LOCATION

      public static final ArgType LOCATION
    • OFFLINE_PLAYER

      public static final ArgType OFFLINE_PLAYER
  • Method Details

    • values

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