Enum Class DillType

java.lang.Object
java.lang.Enum<DillType>
net.dillon.dillonlib.annotation.DillType
All Implemented Interfaces:
Serializable, Comparable<DillType>, Constable

public enum DillType extends Enum<DillType>
Annotations for a class, method or field, on what environment the object should be run on. These do not actually do anything, just for simple universal annotation.
Since:
1.0
See Also:
  • Enum Constant Details

    • CLIENT

      public static final DillType CLIENT
    • DEDICATED_SERVER

      public static final DillType DEDICATED_SERVER
    • COMMON

      public static final DillType COMMON
  • Method Details

    • values

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