public enum UpdateConfigurationPolicy extends Enum<UpdateConfigurationPolicy>
| Enum Constant and Description |
|---|
ALL
All configuration changes (default)
|
IDENTITIES_ONLY
New and updated configurations related to Kerberos identity information - principal, keytab
file, and auth-to-local rule properties
|
NEW_AND_IDENTITIES
Only new configurations declared by the Kerberos descriptor and stack advisor as well as the
identity-related changes
|
NONE
No configurations will be updated
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyAdditions() |
boolean |
applyIdentityChanges() |
boolean |
applyOtherChanges() |
boolean |
invokeStackAdvisor() |
static UpdateConfigurationPolicy |
translate(String stringValue)
Safely translates a
String value to an UpdateConfigurationPolicy. |
static String |
translate(UpdateConfigurationPolicy value)
Safely translates a
UpdateConfigurationPolicy value to a String of all
lowercase characters. |
static UpdateConfigurationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateConfigurationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateConfigurationPolicy NONE
public static final UpdateConfigurationPolicy IDENTITIES_ONLY
public static final UpdateConfigurationPolicy NEW_AND_IDENTITIES
public static final UpdateConfigurationPolicy ALL
public static UpdateConfigurationPolicy[] values()
for (UpdateConfigurationPolicy c : UpdateConfigurationPolicy.values()) System.out.println(c);
public static UpdateConfigurationPolicy 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 nullpublic boolean invokeStackAdvisor()
public boolean applyIdentityChanges()
public boolean applyAdditions()
public boolean applyOtherChanges()
public static String translate(UpdateConfigurationPolicy value)
UpdateConfigurationPolicy value to a String of all
lowercase characters.value - the value to translatenull if the input is null; otherwise the String value of
the policy enum converted to lowercase characters.public static UpdateConfigurationPolicy translate(String stringValue)
String value to an UpdateConfigurationPolicy.
The input value will be trimmed and converted to all uppercase characters. If "-"'s are used instead of "_"'s, they will be converted.
stringValue - the String to translateUpdateConfigurationPolicy value; or null if a translation cannot be madeCopyright © 2022 Apache Software Foundation. All rights reserved.