Enum Class Phase

All Implemented Interfaces:
TranslatableEnum, Nameable, Serializable, Comparable<Phase>, Constable

public enum Phase extends Enum<Phase> implements TranslatableEnum
Copy of Parity.
  • Enum Constant Details

    • ALL

      public static final Phase ALL
    • L1

      public static final Phase L1
    • L2

      public static final Phase L2
    • L3

      public static final Phase L3
  • Method Details

    • values

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

      public static Phase 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTranslation

      public final String getTranslation(Language l)
      Description copied from interface: TranslatableEnum
      Gets the translation of the current value.
      Specified by:
      getTranslation in interface TranslatableEnum
      l - the language of the value
      the translated value