Enum Class BizState

java.lang.Object
java.lang.Enum<BizState>
com.alipay.sofa.ark.spi.model.BizState
All Implemented Interfaces:
Serializable, Comparable<BizState>, Constable

public enum BizState extends Enum<BizState>
Biz State
Since:
0.4.0
Author:
qilong.zql
  • Enum Constant Details

    • UNRESOLVED

      public static final BizState UNRESOLVED
      not init or not start install yet
    • RESOLVED

      public static final BizState RESOLVED
      installing
    • ACTIVATED

      public static final BizState ACTIVATED
      install succeed, and start serving
    • DEACTIVATED

      public static final BizState DEACTIVATED
      install succeed, but stop serving, usually caused by a new version installed
    • BROKEN

      public static final BizState BROKEN
      install or uninstall failed.
    • STOPPED

      public static final BizState STOPPED
      uninstall succeed
  • Method Details

    • values

      public static BizState[] 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 BizState 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
    • getBizState

      public String getBizState()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BizState>
    • of

      public static BizState of(String state)