public class ConflictResolutionPolicy extends Object
Constructor and Description |
---|
ConflictResolutionPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
conflictResolutionPath()
Get the conflict resolution path in the case of LastWriterWins mode.
|
String |
conflictResolutionProcedure()
Get the procedure to resolve conflicts in the case of custom mode.
|
ConflictResolutionMode |
mode()
Get indicates the conflict resolution mode.
|
ConflictResolutionPolicy |
withConflictResolutionPath(String conflictResolutionPath)
Set the conflict resolution path in the case of LastWriterWins mode.
|
ConflictResolutionPolicy |
withConflictResolutionProcedure(String conflictResolutionProcedure)
Set the procedure to resolve conflicts in the case of custom mode.
|
ConflictResolutionPolicy |
withMode(ConflictResolutionMode mode)
Set indicates the conflict resolution mode.
|
public ConflictResolutionMode mode()
public ConflictResolutionPolicy withMode(ConflictResolutionMode mode)
mode
- the mode value to setpublic String conflictResolutionPath()
public ConflictResolutionPolicy withConflictResolutionPath(String conflictResolutionPath)
conflictResolutionPath
- the conflictResolutionPath value to setpublic String conflictResolutionProcedure()
public ConflictResolutionPolicy withConflictResolutionProcedure(String conflictResolutionProcedure)
conflictResolutionProcedure
- the conflictResolutionProcedure value to setCopyright © 2019. All rights reserved.