Enum Class VarType

java.lang.Object
java.lang.Enum<VarType>
ml.karmaconfigs.api.bukkit.util.spigot.VarType
All Implemented Interfaces:
Serializable, Comparable<VarType>, java.lang.constant.Constable

public enum VarType extends Enum<VarType>
Valid variable type
  • Enum Constant Details

    • PAGE

      public static final VarType PAGE
      Argument means page
    • CATEGORY

      public static final VarType CATEGORY
      Argument means category
  • Method Details

    • values

      public static VarType[] 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 VarType 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
    • get

      public String get()
      Get the type name in URL
      Returns:
      the var type in URL