Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcFile.CcVersionControlFlag

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

public static enum CcFile.CcVersionControlFlag
extends Enum<CcFile.CcVersionControlFlag>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Flags for the doCcVersionControl method.


Enum Constant Summary
CHECKIN
          Indicates whether to checkin this file after it is added to version control.
MAKE_PATH
          Automatically checkout the version controlled parent directory and check back in after new file has been added to version control.
MASTER_LOCALLY
          Assigns mastership of the main branch of the newly version controlled file to the VOB replica in which you execute operation.
NO_CHECKOUT
          Do not checkout the file after adding to version control.
 
Method Summary
 String toString()
           
static CcFile.CcVersionControlFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcFile.CcVersionControlFlag[] 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, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHECKIN

public static final CcFile.CcVersionControlFlag CHECKIN
Indicates whether to checkin this file after it is added to version control. The default is to leave it checked out.

This flag is mutually exclusive with NO_CHECKOUT.


MAKE_PATH

public static final CcFile.CcVersionControlFlag MAKE_PATH
Automatically checkout the version controlled parent directory and check back in after new file has been added to version control. Any view private parent directories below the version controlled parent and the desired file, will also be version controlled.

This flag is mutually exclusive with MASTER_LOCALLY.


MASTER_LOCALLY

public static final CcFile.CcVersionControlFlag MASTER_LOCALLY
Assigns mastership of the main branch of the newly version controlled file to the VOB replica in which you execute operation. By default mastership of the file's main branch is assigned to the VOB replica that masters the main branch type.

This flag is mutually exclusive with MAKE_PATH.


NO_CHECKOUT

public static final CcFile.CcVersionControlFlag NO_CHECKOUT
Do not checkout the file after adding to version control.

This flag is mutually exclusive with CHECKIN.

Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcFile.CcVersionControlFlag>

valueOf

public static CcFile.CcVersionControlFlag 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 CcFile.CcVersionControlFlag[] 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 (CcFile.CcVersionControlFlag c : CcFile.CcVersionControlFlag.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 09:05 PM

Copyright © IBM 2014. All rights reserved.