public enum WorkspaceTrashOperation extends Enum<WorkspaceTrashOperation>
Enum Constant and Description |
---|
DELETE_PERMANENTLY |
EMPTY_TRASH |
REFRESH |
RESTORE |
RESTORE_ALL |
SHOW |
Modifier and Type | Field and Description |
---|---|
String |
label |
String |
operationDescription |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static List<String> |
getListLabels() |
String |
getOperationDescription() |
static WorkspaceTrashOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspaceTrashOperation |
valueOfLabel(String label) |
static WorkspaceTrashOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspaceTrashOperation SHOW
public static final WorkspaceTrashOperation REFRESH
public static final WorkspaceTrashOperation RESTORE
public static final WorkspaceTrashOperation RESTORE_ALL
public static final WorkspaceTrashOperation DELETE_PERMANENTLY
public static final WorkspaceTrashOperation EMPTY_TRASH
public static WorkspaceTrashOperation[] values()
for (WorkspaceTrashOperation c : WorkspaceTrashOperation.values()) System.out.println(c);
public static WorkspaceTrashOperation 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 String getLabel()
public static WorkspaceTrashOperation valueOfLabel(String label)
public String getOperationDescription()
Copyright © 2015. All Rights Reserved.