Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcMergeHandlingCallback.CheckinMergeHandling

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

public static enum CcMergeHandlingCallback.CheckinMergeHandling
extends Enum<CcMergeHandlingCallback.CheckinMergeHandling>

Enumeration to specify how to deal with the checkin after a merge.


Enum Constant Summary
CANCEL_REMAINING_CHECKINS
          Fail remaining checkins
LEAVE_CHECKED_OUT
          Don't do anything else
RETRY_CHECKIN
          Retry the checkin
 
Method Summary
 String toString()
           
static CcMergeHandlingCallback.CheckinMergeHandling valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcMergeHandlingCallback.CheckinMergeHandling[] 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, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CANCEL_REMAINING_CHECKINS

public static final CcMergeHandlingCallback.CheckinMergeHandling CANCEL_REMAINING_CHECKINS
Fail remaining checkins


LEAVE_CHECKED_OUT

public static final CcMergeHandlingCallback.CheckinMergeHandling LEAVE_CHECKED_OUT
Don't do anything else


RETRY_CHECKIN

public static final CcMergeHandlingCallback.CheckinMergeHandling RETRY_CHECKIN
Retry the checkin

Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcMergeHandlingCallback.CheckinMergeHandling>

valueOf

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

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

Generated Thu 23-May-2013 10:32 PM

Copyright © IBM 2013. All rights reserved.