|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CcFile.RefreshFlag>
CcFile.RefreshFlag
public static enum CcFile.RefreshFlag
Flags for the doRefresh
and doRestore
methods.
Enum Constant Summary | |
---|---|
KEEP_HIJACKS
Do not refresh hijacked files. |
|
OVERWRITE_HIJACKS
If a file being refreshed is hijacked in this view, overwrite the hijacked contents with the new version's contents. |
|
PRESERVE_CREATION_TIME
When refreshing a file to a different version, set the file's "last modified" time to be the time when the version was created. |
|
PREVIEW_ONLY
Preview the refresh operation, but don't actually perform it. |
|
RENAME_HIJACKS
If a file being refreshed is hijacked in this view, preserve the hijacked contents by moving the hijacked file to . |
Method Summary | |
---|---|
String |
toString()
|
static CcFile.RefreshFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CcFile.RefreshFlag[] |
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 |
---|
public static final CcFile.RefreshFlag KEEP_HIJACKS
Note: a deleted file or directory is considered to be hijacked.
In order to refresh or restore a deleted file or directory,
you must specify OVERWRITE_HIJACKS
or
RENAME_HIJACKS
.
doRefresh
and doRestore
.
public static final CcFile.RefreshFlag OVERWRITE_HIJACKS
public static final CcFile.RefreshFlag PRESERVE_CREATION_TIME
doRefresh
was performed.
public static final CcFile.RefreshFlag PREVIEW_ONLY
public static final CcFile.RefreshFlag RENAME_HIJACKS
.keep
.
Method Detail |
---|
public String toString()
toString
in class Enum<CcFile.RefreshFlag>
public static CcFile.RefreshFlag 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 CcFile.RefreshFlag[] values()
for (CcFile.RefreshFlag c : CcFile.RefreshFlag.values()) System.out.println(c);
|
Generated Thu 20-Feb-2014 09:09 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |