Enum DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy
- java.lang.Object
-
- java.lang.Enum<DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy>
-
- org.apache.syncope.common.lib.policy.DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy>
- Enclosing class:
- DefaultAttrReleasePolicyConf
public static enum DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy extends Enum<DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Add attributes.MULTIVALUED
Multivalued attributes.NONE
No merging.REPLACE
Replace attributes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy REPLACE
Replace attributes. Overwrites existing attribute values, if any.
-
ADD
public static final DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy ADD
Add attributes. Retains existing attribute values if any, and ignores values from subsequent sources in the resolution chain.
-
NONE
public static final DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy NONE
No merging. Doesn't merge attributes, ignores attributes from non-authentication attribute repositories.
-
MULTIVALUED
public static final DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy MULTIVALUED
Multivalued attributes. Combines all values into a single attribute, essentially creating a multi-valued attribute.
-
-
Method Detail
-
values
public static DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy c : DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultAttrReleasePolicyConf.PrincipalAttrRepoMergingStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-