com.hcl.voltmx.sync.services.syncruntime.config
Enum Enums.ConflictResolutionPolicy

java.lang.Object
  extended by java.lang.Enum<Enums.ConflictResolutionPolicy>
      extended by com.hcl.voltmx.sync.services.syncruntime.config.Enums.ConflictResolutionPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Enums.ConflictResolutionPolicy>
Enclosing class:
Enums

public static enum Enums.ConflictResolutionPolicy
extends java.lang.Enum<Enums.ConflictResolutionPolicy>

Enumeration types for the conflict resolution policy


Enum Constant Summary
CLIENT_WINS
          Enumeration value which indicates client change need to be considered over the server change in case of conflicts
CUSTOM
          Enumeration value which indicates customized logic need to invoke to get the entity in case of conflicts
NONE
          Enumeration value which indicates conflict resolution is not supported.
SERVER_WINS
          Enumeration value which indicates server change need to be considered over the client change in case of conflicts
 
Method Summary
static Enums.ConflictResolutionPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Enums.ConflictResolutionPolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLIENT_WINS

public static final Enums.ConflictResolutionPolicy CLIENT_WINS
Enumeration value which indicates client change need to be considered over the server change in case of conflicts


SERVER_WINS

public static final Enums.ConflictResolutionPolicy SERVER_WINS
Enumeration value which indicates server change need to be considered over the client change in case of conflicts


CUSTOM

public static final Enums.ConflictResolutionPolicy CUSTOM
Enumeration value which indicates customized logic need to invoke to get the entity in case of conflicts


NONE

public static final Enums.ConflictResolutionPolicy NONE
Enumeration value which indicates conflict resolution is not supported. Latest change wins.

Method Detail

values

public static Enums.ConflictResolutionPolicy[] 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 (Enums.ConflictResolutionPolicy c : Enums.ConflictResolutionPolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Enums.ConflictResolutionPolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null