Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcVersion.CcCheckoutFlag

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

public static enum CcVersion.CcCheckoutFlag
extends Enum<CcVersion.CcCheckoutFlag>

Flags for the doCcCheckout method.


Enum Constant Summary
FALLBACK_TO_UNRESERVED
          Fall back to unreserved if a reservation can not be obtained.
NON_MASTERED_OK
          Indicates whether to checkout this file even if the relevant branch is mastered by another replica.
PRESERVE_MODIFICATION_TIME
          After a file is 'checkedout', set the file's "last modified" time to be the time when the version was first created.
RESERVED
          Indicates whether to checkout this file reserved.
 
Method Summary
static CcVersion.CcCheckoutFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcVersion.CcCheckoutFlag[] 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

FALLBACK_TO_UNRESERVED

public static final CcVersion.CcCheckoutFlag FALLBACK_TO_UNRESERVED
Fall back to unreserved if a reservation can not be obtained.


NON_MASTERED_OK

public static final CcVersion.CcCheckoutFlag NON_MASTERED_OK
Indicates whether to checkout this file even if the relevant branch is mastered by another replica. The RESERVED flag must NOT be set with this flag.

If the file is mastered by this replica, setting this flag has no effect.


PRESERVE_MODIFICATION_TIME

public static final CcVersion.CcCheckoutFlag PRESERVE_MODIFICATION_TIME
After a file is 'checkedout', set the file's "last modified" time to be the time when the version was first created.

This only applies to dynamic views.


RESERVED

public static final CcVersion.CcCheckoutFlag RESERVED
Indicates whether to checkout this file reserved.

Method Detail

valueOf

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

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

Generated Thu 25-Aug-2016 10:16 AM

Copyright © IBM 2016. All rights reserved.