Enum Class LicenseAutoGenerationPolicy

java.lang.Object
java.lang.Enum<LicenseAutoGenerationPolicy>
io.confluent.license.LicenseAutoGenerationPolicy
All Implemented Interfaces:
Serializable, Comparable<LicenseAutoGenerationPolicy>, Constable

public enum LicenseAutoGenerationPolicy extends Enum<LicenseAutoGenerationPolicy>
Defines the automatic license generation policy when no valid license exists.

This policy controls how the license manager generates new licenses when no existing license is found in storage and no valid license is provided during registration.

  • Enum Constant Details

    • DEFAULT

      public static final LicenseAutoGenerationPolicy DEFAULT
      Default license generation behavior based on cluster topology.

      Uses standard logic: generates free tier licenses for single-node clusters, and trial licenses for multi-node clusters.

    • TRIAL_ONLY

      public static final LicenseAutoGenerationPolicy TRIAL_ONLY
      Always generate trial licenses regardless of cluster topology.

      Forces trial license generation even for single-node clusters that would normally receive free tier licenses.

  • Method Details

    • values

      public static LicenseAutoGenerationPolicy[] 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 LicenseAutoGenerationPolicy 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