|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CreateWorkspaceRequest.CreateConflictBehavior> org.jboss.dna.graph.request.CreateWorkspaceRequest.CreateConflictBehavior
public static enum CreateWorkspaceRequest.CreateConflictBehavior
The options for the behavior when a request specifies a workspace name that already is used by an existing workspace.
Enum Constant Summary | |
---|---|
CREATE_WITH_ADJUSTED_NAME
Create the workspace by adjusting the name so that it is unique. |
|
DO_NOT_CREATE
Do not create the workspace, and record as an error on the request. |
Method Summary | |
---|---|
static CreateWorkspaceRequest.CreateConflictBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CreateWorkspaceRequest.CreateConflictBehavior[] |
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 CreateWorkspaceRequest.CreateConflictBehavior DO_NOT_CREATE
error
on the request.
public static final CreateWorkspaceRequest.CreateConflictBehavior CREATE_WITH_ADJUSTED_NAME
Method Detail |
---|
public static CreateWorkspaceRequest.CreateConflictBehavior[] values()
for (CreateWorkspaceRequest.CreateConflictBehavior c : CreateWorkspaceRequest.CreateConflictBehavior.values()) System.out.println(c);
public static CreateWorkspaceRequest.CreateConflictBehavior 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 |