public static enum CcFile.RefreshFlag extends Enum<CcFile.RefreshFlag> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
doRefresh
and doRestore
methods.Enum Constant and Description |
---|
DO_RESET
Reset local view db - used to restore a view
Applies only to automatic views
|
FORCE_LOAD_ONCE
Force the refresh/update of load-once rules in automatic views.
|
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
. |
RESTORE_FROM_CLIENT
Master DB is on client - used to restore a view
Applies only to automatic views
|
RESTORE_FROM_SERVER
Master DB is on server - used to restore a view
Applies only to automatic views
|
RESUME_UPDATE
Resume a suspended update...
|
USE_CURRENT_TIME
When refreshing a file to a different version, set the file's
"last modified" time to be the time when
doRefresh is performed on the Snapshot view resource. |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final CcFile.RefreshFlag DO_RESET
public static final CcFile.RefreshFlag FORCE_LOAD_ONCE
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
is performed.
PRESERVE_CREATION_TIME
or
USE_CURRENT_TIME
is not set then the file's
"last modified" time will be set based on
CcView.PRESERVE_VOB_MODIFIED_TIME
.public static final CcFile.RefreshFlag PREVIEW_ONLY
public static final CcFile.RefreshFlag RENAME_HIJACKS
.keep
.public static final CcFile.RefreshFlag RESTORE_FROM_CLIENT
public static final CcFile.RefreshFlag RESTORE_FROM_SERVER
public static final CcFile.RefreshFlag RESUME_UPDATE
public static final CcFile.RefreshFlag USE_CURRENT_TIME
doRefresh
is performed on the Snapshot view resource.
Not applicable for other view types.
PRESERVE_CREATION_TIME
or
USE_CURRENT_TIME
is not set then the file's
"last modified" time will be set based on
CcView.PRESERVE_VOB_MODIFIED_TIME
.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 nameNullPointerException
- if the argument is nullpublic static CcFile.RefreshFlag[] values()
for (CcFile.RefreshFlag c : CcFile.RefreshFlag.values()) System.out.println(c);
Copyright © IBM 2018. All rights reserved.