public enum ConflictResolutionMode extends Enum<ConflictResolutionMode>
Enum Constant and Description |
---|
CUSTOM
CUSTOM conflict resolution mode
|
INVALID
INVALID or unknown mode.
|
LAST_WRITER_WINS
Last writer wins conflict resolution mode
Setting the ConflictResolutionMode to "LAST_WRITER_WINS" indicates that conflict resolution should be done by
inspecting a field in the conflicting items
and picking the item which has the higher value in that path.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ConflictResolutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictResolutionMode LAST_WRITER_WINS
ConflictResolutionPolicy.getConflictResolutionPath()
for details on how to specify the pathpublic static final ConflictResolutionMode CUSTOM
Setting the ConflictResolutionMode to "CUSTOM" indicates that conflict resolution is custom handled by a user.
The user could elect to register a user specified StoredProcedure
for handling conflicting resources.
Should the user not register a user specified StoredProcedure, conflicts will default to being made available
as Conflict
resources,
which the user can inspect and manually resolve.
See ConflictResolutionPolicy.getConflictResolutionProcedure()
for details on how to specify the stored
procedure
to run for conflict resolution.
public static final ConflictResolutionMode INVALID
public static ConflictResolutionMode[] values()
public static ConflictResolutionMode 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 String toString()
toString
in class Enum<ConflictResolutionMode>
Copyright © 2021 Microsoft Corporation. All rights reserved.