Enum Class License.Category

java.lang.Object
java.lang.Enum<License.Category>
io.confluent.license.License.Category
All Implemented Interfaces:
Serializable, Comparable<License.Category>, Constable
Enclosing class:
License

public static enum License.Category extends Enum<License.Category>
User-facing license category derived from License.Type (trial and free-tier get their own categories) with License.DeploymentScope and License.LicenseSubType used to distinguish the remaining Enterprise variants. Provides a display name for API responses and a machine- friendly shortName() suitable for URL slugs, log tags, or metric label values.

See License.category() for the exact mapping.

  • Enum Constant Details

  • Method Details

    • values

      public static License.Category[] 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 License.Category 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
    • displayName

      public String displayName()
    • shortName

      public String shortName()
      Short, machine-friendly identifier suitable for use as a metric label value or a URL slug. Stable across displayName revisions.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<License.Category>