Enum VirtualAttributeCfgDefn.ConflictBehavior
- java.lang.Object
-
- java.lang.Enum<VirtualAttributeCfgDefn.ConflictBehavior>
-
- org.forgerock.opendj.server.config.meta.VirtualAttributeCfgDefn.ConflictBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<VirtualAttributeCfgDefn.ConflictBehavior>
- Enclosing class:
- VirtualAttributeCfgDefn
public static enum VirtualAttributeCfgDefn.ConflictBehavior extends Enum<VirtualAttributeCfgDefn.ConflictBehavior>
Defines the set of permissable values for the "conflict-behavior" property.Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MERGE_REAL_AND_VIRTUAL
Indicates that the virtual attribute provider is to preserve any real values contained in the entry and merge them with the set of generated virtual values so that both the real and virtual values are used.REAL_OVERRIDES_VIRTUAL
Indicates that any real values contained in the entry are preserved and used, and virtual values are not generated.VIRTUAL_OVERRIDES_REAL
Indicates that the virtual attribute provider suppresses any real values contained in the entry and generates virtual values and uses them.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static VirtualAttributeCfgDefn.ConflictBehavior
valueOf​(String name)
Returns the enum constant of this type with the specified name.static VirtualAttributeCfgDefn.ConflictBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE_REAL_AND_VIRTUAL
public static final VirtualAttributeCfgDefn.ConflictBehavior MERGE_REAL_AND_VIRTUAL
Indicates that the virtual attribute provider is to preserve any real values contained in the entry and merge them with the set of generated virtual values so that both the real and virtual values are used.
-
REAL_OVERRIDES_VIRTUAL
public static final VirtualAttributeCfgDefn.ConflictBehavior REAL_OVERRIDES_VIRTUAL
Indicates that any real values contained in the entry are preserved and used, and virtual values are not generated.
-
VIRTUAL_OVERRIDES_REAL
public static final VirtualAttributeCfgDefn.ConflictBehavior VIRTUAL_OVERRIDES_REAL
Indicates that the virtual attribute provider suppresses any real values contained in the entry and generates virtual values and uses them.
-
-
Method Detail
-
values
public static VirtualAttributeCfgDefn.ConflictBehavior[] 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 (VirtualAttributeCfgDefn.ConflictBehavior c : VirtualAttributeCfgDefn.ConflictBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualAttributeCfgDefn.ConflictBehavior 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<VirtualAttributeCfgDefn.ConflictBehavior>
-
-