Enum Class LicenseAutoGenerationPolicy
- All Implemented Interfaces:
Serializable,Comparable<LicenseAutoGenerationPolicy>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault license generation behavior based on cluster topology.Always generate trial licenses regardless of cluster topology. -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseAutoGenerationPolicyReturns the enum constant of this class with the specified name.static LicenseAutoGenerationPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException- if the argument is null
-