Enum Class RunMode

java.lang.Object
java.lang.Enum<RunMode>
icu.easyj.core.env.RunMode
All Implemented Interfaces:
Serializable, Comparable<RunMode>, Constable

public enum RunMode extends Enum<RunMode>
运行模式枚举
Author:
wangliang181230
  • Enum Constant Details

    • RELEASE

      public static final RunMode RELEASE
      发行模式
    • DEBUG

      public static final RunMode DEBUG
      调试模式
  • Method Details

    • values

      public static RunMode[] 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 RunMode 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 static RunMode get(String name)
      根据枚举名获取枚举
      Parameters:
      name - 枚举名
      Returns:
      enum 枚举