public static enum Entries.ReplaceStrategy extends Enum<Entries.ReplaceStrategy>
Enum Constant and Description |
---|
NO_REPLACE
|
REPLACE_ALL_ATTRIBUTES
|
REPLACE_SINGLE_VALUED_ATTRIBUTES
Requests that the generated changes should use the
REPLACE modification type
when the new attribute contains at most one attribute value. |
Modifier and Type | Method and Description |
---|---|
static Entries.ReplaceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entries.ReplaceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entries.ReplaceStrategy NO_REPLACE
public static final Entries.ReplaceStrategy REPLACE_SINGLE_VALUED_ATTRIBUTES
REPLACE
modification type
when the new attribute contains at most one attribute value. All other changes will use a combination of
DELETE
then ADD
.
Specifying this option will usually provide the best overall performance for single and multi-valued attribute updates, but the generated changes will probably not be reversible.
public static final Entries.ReplaceStrategy REPLACE_ALL_ATTRIBUTES
REPLACE
modification
type, rather than a combination of DELETE
and ADD
.
Note that the generated changes will not be reversible, nor will they be efficient for attributes containing many values (such as groups). Enabling this option may result in more efficient updates for single valued attributes and reduce the amount of replication meta-data that needs to be maintained.
public static Entries.ReplaceStrategy[] values()
for (Entries.ReplaceStrategy c : Entries.ReplaceStrategy.values()) System.out.println(c);
public static Entries.ReplaceStrategy 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 nullCopyright 2010-2022 ForgeRock AS.