|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CcVersion.CcCheckoutFlag>
CcVersion.CcCheckoutFlag
public static 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 |
---|
public static final CcVersion.CcCheckoutFlag FALLBACK_TO_UNRESERVED
public static final CcVersion.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 CcVersion.CcCheckoutFlag PRESERVE_MODIFICATION_TIME
This only applies to dynamic views.
public static final CcVersion.CcCheckoutFlag RESERVED
Method Detail |
---|
public static CcVersion.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 name
NullPointerException
- if the argument is nullpublic static CcVersion.CcCheckoutFlag[] values()
for (CcVersion.CcCheckoutFlag c : CcVersion.CcCheckoutFlag.values()) System.out.println(c);
|
Generated Wed 13-Apr-2016 10:51 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |