|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CloneWorkspaceRequest.CloneConflictBehavior>
org.jboss.dna.graph.request.CloneWorkspaceRequest.CloneConflictBehavior
public static enum CloneWorkspaceRequest.CloneConflictBehavior

The options for the behavior when a request specifies the name of the workspace to clone, but the cloned workspace does not exist.
| Enum Constant Summary | |
|---|---|
DO_NOT_CLONE
Do not perform the clone, and record as an error on the request. |
|
SKIP_CLONE
The clone operation is skipped quietly, resulting in an empty new workspace. |
|
| Method Summary | |
|---|---|
static CloneWorkspaceRequest.CloneConflictBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CloneWorkspaceRequest.CloneConflictBehavior[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CloneWorkspaceRequest.CloneConflictBehavior DO_NOT_CLONE
error on the request.
public static final CloneWorkspaceRequest.CloneConflictBehavior SKIP_CLONE
| Method Detail |
|---|
public static CloneWorkspaceRequest.CloneConflictBehavior[] values()
for (CloneWorkspaceRequest.CloneConflictBehavior c : CloneWorkspaceRequest.CloneConflictBehavior.values()) System.out.println(c);
public static CloneWorkspaceRequest.CloneConflictBehavior 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||