Project: stp

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

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

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

Enumerated states to determine if a merge is needed.


Enum Constant Summary
MERGE_ERROR
           
MERGE_NOT_NEEDED
           
MERGED
           
NEEDS_MERGE
           
NEEDS_NOAUTOMERGE
           
NEVER_MERGE
           
NO_MERGE
           
UNKNOWN
           
 
Method Summary
static CcMergeElement.MergeState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcMergeElement.MergeState[] 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

MERGE_ERROR

public static final CcMergeElement.MergeState MERGE_ERROR

MERGE_NOT_NEEDED

public static final CcMergeElement.MergeState MERGE_NOT_NEEDED

MERGED

public static final CcMergeElement.MergeState MERGED

NEEDS_MERGE

public static final CcMergeElement.MergeState NEEDS_MERGE

NEEDS_NOAUTOMERGE

public static final CcMergeElement.MergeState NEEDS_NOAUTOMERGE

NEVER_MERGE

public static final CcMergeElement.MergeState NEVER_MERGE

NO_MERGE

public static final CcMergeElement.MergeState NO_MERGE

UNKNOWN

public static final CcMergeElement.MergeState UNKNOWN
Method Detail

valueOf

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

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

Generated Thu 6-Nov-2014 11:02 PM

Copyright © IBM 2014. All rights reserved.