Enum Class GrayReleaseFeature

java.lang.Object
java.lang.Enum<GrayReleaseFeature>
com.bytedesk.core.gray_release.GrayReleaseFeature
All Implemented Interfaces:
Serializable, Comparable<GrayReleaseFeature>, Constable

public enum GrayReleaseFeature extends Enum<GrayReleaseFeature>
灰度发布功能枚举
  • Enum Constant Details

  • Field Details

    • code

      private final String code
    • description

      private final String description
  • Constructor Details

    • GrayReleaseFeature

      private GrayReleaseFeature(String code, String description)
  • Method Details

    • values

      public static GrayReleaseFeature[] 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 GrayReleaseFeature 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
    • getByCode

      public static GrayReleaseFeature getByCode(String code)
      根据功能代码获取功能枚举