public static enum CcFile.CcCheckoutFlag extends Enum<CcFile.CcCheckoutFlag> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
doCheckout
method.Enum Constant and Description |
---|
FALLBACK_TO_UNRESERVED
Fall back to unreserved if a reservation can not be obtained.
|
LATEST_NOT_LOADED
Checkout the version of the file that is selected by the view's
config spec.
|
LOADED_NOT_LATEST
Checkout the version of the file that is currently loaded in the
view, even if that version is not the version selected by the
view's config spec.
|
NON_MASTERED_OK
Indicates whether to checkout this file even if the currently
selected branch is mastered by another replica.
|
PRESERVE_HIJACK_CONTENTS
If the file is hijacked, keep the hijacked contents upon checkout.
|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CcFile.CcCheckoutFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CcFile.CcCheckoutFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CcFile.CcCheckoutFlag FALLBACK_TO_UNRESERVED
public static final CcFile.CcCheckoutFlag LATEST_NOT_LOADED
If the loaded version is not the version selected by the view's
config spec, and neither LOADED_NOT_LATEST
nor
LATEST_NOT_LOADED
flags are set, the checkout operation
will throw an exception with reason code CHECKOUT_NOT_LATEST
.
public static final CcFile.CcCheckoutFlag LOADED_NOT_LATEST
If the loaded version is not the version selected by the view's
config spec, and neither LOADED_NOT_LATEST
nor
LATEST_NOT_LOADED
flags are set, the checkout operation
will throw an exception with reason code CHECKOUT_NOT_LATEST
.
public static final CcFile.CcCheckoutFlag NON_MASTERED_OK
RESERVED
flag must NOT be set with this flag.
If the file is mastered by this replica, setting this flag has no effect.
public static final CcFile.CcCheckoutFlag PRESERVE_HIJACK_CONTENTS
public static final CcFile.CcCheckoutFlag PRESERVE_MODIFICATION_TIME
This applies only to automatic, dynamic and snapshot views.
public static final CcFile.CcCheckoutFlag RESERVED
public String toString()
toString
in class Enum<CcFile.CcCheckoutFlag>
public static CcFile.CcCheckoutFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CcFile.CcCheckoutFlag[] values()
for (CcFile.CcCheckoutFlag c : CcFile.CcCheckoutFlag.values()) System.out.println(c);
Copyright © IBM 2016. All rights reserved.