org.electrocodeogram.cpc.core.api.provider.merge
Enum IMergeResult.Status

java.lang.Object
  extended by java.lang.Enum<IMergeResult.Status>
      extended by org.electrocodeogram.cpc.core.api.provider.merge.IMergeResult.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IMergeResult.Status>
Enclosing interface:
IMergeResult

public static enum IMergeResult.Status
extends java.lang.Enum<IMergeResult.Status>

Possible result status values for a merge operation.


Enum Constant Summary
FULL_MERGE
          All data was successfully merged.
NO_MERGE
          It was not possible to merge the data.
PARTIAL_MERGE
          Some data was successfully merged.
 
Method Summary
static IMergeResult.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IMergeResult.Status[] 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

FULL_MERGE

public static final IMergeResult.Status FULL_MERGE
All data was successfully merged.


PARTIAL_MERGE

public static final IMergeResult.Status PARTIAL_MERGE
Some data was successfully merged.
Some data could not be merged and was dropped.


NO_MERGE

public static final IMergeResult.Status NO_MERGE
It was not possible to merge the data.
All clone data for the file was lost.

Method Detail

values

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

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

valueOf

public static IMergeResult.Status 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