public enum LicenseAutoGenerationPolicy extends Enum<LicenseAutoGenerationPolicy>
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 and Description |
|---|
DEFAULT
Default license generation behavior based on cluster topology.
|
TRIAL_ONLY
Always generate trial licenses regardless of cluster topology.
|
| Modifier and Type | Method and Description |
|---|---|
static LicenseAutoGenerationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseAutoGenerationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseAutoGenerationPolicy DEFAULT
Uses standard logic: generates free tier licenses for single-node clusters, and trial licenses for multi-node clusters.
public static final LicenseAutoGenerationPolicy TRIAL_ONLY
Forces trial license generation even for single-node clusters that would normally receive free tier licenses.
public static LicenseAutoGenerationPolicy[] values()
for (LicenseAutoGenerationPolicy c : LicenseAutoGenerationPolicy.values()) System.out.println(c);
public static LicenseAutoGenerationPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null