Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcElementType.MergeType

Object
  extended by Enum<CcElementType.MergeType>
      extended by CcElementType.MergeType
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CcElementType.MergeType>
Enclosing interface:
CcElementType

public static enum CcElementType.MergeType
extends Enum<CcElementType.MergeType>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Merge type of an element type.

The merge type defines the behaviour when a merge is performed via deliver, rebase or an explicit findmerge command. The four merge types are:


Enum Constant Summary
AUTO
          Automatically perform merges
COPY
          Copy version to merge
NEVER
          Never merge
USER
          Automatically perform trivial merges, manual for non-trivial
 
Method Summary
static CcElementType.MergeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcElementType.MergeType[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

AUTO

public static final CcElementType.MergeType AUTO
Automatically perform merges


COPY

public static final CcElementType.MergeType COPY
Copy version to merge


NEVER

public static final CcElementType.MergeType NEVER
Never merge


USER

public static final CcElementType.MergeType USER
Automatically perform trivial merges, manual for non-trivial

Method Detail

valueOf

public static CcElementType.MergeType 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

values

public static final CcElementType.MergeType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CcElementType.MergeType c : CcElementType.MergeType.values())
        System.out.println(c);

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

Generated Fri 26-Feb-2010 04:01 AM

Copyright © IBM 2010. All rights reserved.