public static enum WorkspacePlugin.GetWorkspaceDirMode extends Enum<WorkspacePlugin.GetWorkspaceDirMode>
WorkspaceDir.| Enum Constant and Description |
|---|
CREATE_IF_NOT_EXIST
Create the workspace directory if it does not exist.
|
DO_NOT_CREATE_PATH
Can be specified with CREATE_IF_NOT_EXIST.
|
MUST_EXIST
The workspace directory must not exist.
|
MUST_NOT_EXIST
The workspace directory must already exist.
|
RESET_IF_EXIST
Resets the workspace directory if it exists, as if it was created new (empties
it).
|
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<WorkspacePlugin.GetWorkspaceDirMode> |
ENUM_SET_CREATE_NEW
EnumSet of GetWorkspaceDirMode which means to create a new
WorkspaceDir
and fail if it already exists. |
static EnumSet<WorkspacePlugin.GetWorkspaceDirMode> |
ENUM_SET_CREATE_NEW_NO_PATH
EnumSet of GetWorkspaceDirMode which means to create a new
WorkspaceDir
and fail if it already exists. |
static EnumSet<WorkspacePlugin.GetWorkspaceDirMode> |
ENUM_SET_GET_EXISTING
EnumSet of GetWorkspaceDirMode which means to get an existing
WorkspaceDir and fail if it does not exist. |
static EnumSet<WorkspacePlugin.GetWorkspaceDirMode> |
ENUM_SET_GET_EXISTING_OR_CREATE
EnumSet of GetWorkspaceDirMode which means to get an existing
WorkspaceDir or create a new one if it does not exist. |
static EnumSet<WorkspacePlugin.GetWorkspaceDirMode> |
ENUM_SET_GET_EXISTING_OR_CREATE_NO_PATH
EnumSet of GetWorkspaceDirMode which means to get an existing
WorkspaceDir or create a new one if it does not exist. |
| Modifier and Type | Method and Description |
|---|---|
static WorkspacePlugin.GetWorkspaceDirMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspacePlugin.GetWorkspaceDirMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspacePlugin.GetWorkspaceDirMode MUST_EXIST
public static final WorkspacePlugin.GetWorkspaceDirMode MUST_NOT_EXIST
public static final WorkspacePlugin.GetWorkspaceDirMode CREATE_IF_NOT_EXIST
public static final WorkspacePlugin.GetWorkspaceDirMode DO_NOT_CREATE_PATH
public static final WorkspacePlugin.GetWorkspaceDirMode RESET_IF_EXIST
public static final EnumSet<WorkspacePlugin.GetWorkspaceDirMode> ENUM_SET_GET_EXISTING
WorkspaceDir and fail if it does not exist.public static final EnumSet<WorkspacePlugin.GetWorkspaceDirMode> ENUM_SET_GET_EXISTING_OR_CREATE
WorkspaceDir or create a new one if it does not exist.public static final EnumSet<WorkspacePlugin.GetWorkspaceDirMode> ENUM_SET_GET_EXISTING_OR_CREATE_NO_PATH
WorkspaceDir or create a new one if it does not exist. If the path does
not exist, it is not created. Useful for WorkspaceDirUserModuleVersion
where the path is expected to be created when performing the checkout from the
SCM.public static final EnumSet<WorkspacePlugin.GetWorkspaceDirMode> ENUM_SET_CREATE_NEW
WorkspaceDir
and fail if it already exists.public static final EnumSet<WorkspacePlugin.GetWorkspaceDirMode> ENUM_SET_CREATE_NEW_NO_PATH
WorkspaceDir
and fail if it already exists. The path is not created. Useful for
WorkspaceDirUserModuleVersion where the path is expected to be created
when performing the checkout from the SCM.public static WorkspacePlugin.GetWorkspaceDirMode[] values()
for (WorkspacePlugin.GetWorkspaceDirMode c : WorkspacePlugin.GetWorkspaceDirMode.values()) System.out.println(c);
public static WorkspacePlugin.GetWorkspaceDirMode 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 nullCopyright © 2015–2017 AZYVA INC.. All rights reserved.