Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcMergeElement.MergeInterventionType

Object
  extended by Enum<CcMergeElement.MergeInterventionType>
      extended by CcMergeElement.MergeInterventionType
All Implemented Interfaces:
Serializable, Comparable<CcMergeElement.MergeInterventionType>
Enclosing interface:
CcMergeElement

public static enum CcMergeElement.MergeInterventionType
extends Enum<CcMergeElement.MergeInterventionType>

Before the merge stage, the MergeInterventionType will either be TRIVIAL or NON_TRIVIAL. After the merge stage, MergeInterventionType shows what type of merge was performed, AUTOMATIC or MANUAL.


Enum Constant Summary
AUTOMATIC
          No intervention during the merge.
MANUAL
          There was user intervention during the merge.
NON_TRIVIAL
          User intervention is required.
TRIVIAL
          No user intervention is required.
UNKNOWN
           
 
Method Summary
static CcMergeElement.MergeInterventionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcMergeElement.MergeInterventionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTOMATIC

public static final CcMergeElement.MergeInterventionType AUTOMATIC
No intervention during the merge. Decision was made automatically.


MANUAL

public static final CcMergeElement.MergeInterventionType MANUAL
There was user intervention during the merge.


NON_TRIVIAL

public static final CcMergeElement.MergeInterventionType NON_TRIVIAL
User intervention is required.


TRIVIAL

public static final CcMergeElement.MergeInterventionType TRIVIAL
No user intervention is required.


UNKNOWN

public static final CcMergeElement.MergeInterventionType UNKNOWN
Method Detail

valueOf

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

values

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

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

Generated Tue 13-Sep-2011 04:07 PM

Copyright © IBM 2011. All rights reserved.