public static enum Workspace.MergeFlag extends Enum<Workspace.MergeFlag>
Enum Constant and Description |
---|
CHECKIN_IDENTICAL
Indicates whether a checkin will be performed if the persistent state
of the new version would be identical to that of the previous
version.
|
FORK_OK
Indicates whether to fork on checkout even if forking is discouraged.
|
NO_AUTO_MERGE
Indicates whether the provider is allowed is allowed to perform automatic merges.
|
NO_CHECKOUT
Indicates whether the provider is allowed to checkout files for merging.
|
RESERVED
Indicates whether to do a checkout even
if there already is a reserved checkout from the currently selected
version in the checkout activity.
|
UPDATE_STREAM
Indicates whether a stream source should be updated with the current
state of the workspace if the merge succeeds.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of this flag suitable for diagnostics.
|
static Workspace.MergeFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Workspace.MergeFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Workspace.MergeFlag CHECKIN_IDENTICAL
public static final Workspace.MergeFlag FORK_OK
public static final Workspace.MergeFlag NO_AUTO_MERGE
public static final Workspace.MergeFlag NO_CHECKOUT
public static final Workspace.MergeFlag RESERVED
public static final Workspace.MergeFlag UPDATE_STREAM
public String toString()
toString
in class Enum<Workspace.MergeFlag>
public static Workspace.MergeFlag 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 Workspace.MergeFlag[] values()
for (Workspace.MergeFlag c : Workspace.MergeFlag.values()) System.out.println(c);
Copyright © IBM 2018. All rights reserved.