public static enum UserProfileConfiguration.UpdateStrategy extends java.lang.Enum<UserProfileConfiguration.UpdateStrategy>
| Enum Constant and Description |
|---|
UPDATE_ALWAYS
Always updates the profile value if the header value is valid (
UserProfileConfiguration.ProfileProperty.isValid(String))
and differs from the profile value. |
UPDATE_ONLY_IF_PROFILE_VALUE_IS_INVALID
Updates the value only if the value in the profile is invalid (
UserProfileConfiguration.ProfileProperty.isValid(String))
and there's a valid value in the header. |
| Modifier and Type | Method and Description |
|---|---|
static UserProfileConfiguration.UpdateStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserProfileConfiguration.UpdateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProfileConfiguration.UpdateStrategy UPDATE_ONLY_IF_PROFILE_VALUE_IS_INVALID
UserProfileConfiguration.ProfileProperty.isValid(String))
and there's a valid value in the header.public static final UserProfileConfiguration.UpdateStrategy UPDATE_ALWAYS
UserProfileConfiguration.ProfileProperty.isValid(String))
and differs from the profile value.public static UserProfileConfiguration.UpdateStrategy[] values()
for (UserProfileConfiguration.UpdateStrategy c : UserProfileConfiguration.UpdateStrategy.values()) System.out.println(c);
public static UserProfileConfiguration.UpdateStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null