Enum Class ManagerAction
- All Implemented Interfaces:
Serializable, Comparable<ManagerAction>, Constable
Enum to support valid actions covered by the Manager
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagerActionGet manager action matching queryabstract CommandTypestatic booleanCheck if query is a valid actionstatic intFetch index of queryabstract booleanisManagerAction(String query) abstract booleanisManagerAction(ManagerAction query) abstract ManagerCommandmakeCommand(ManagerTarget target, CommandSpec cmdSpec) Abstract method for values to create their correspondingAbstractCommandstatic ManagerActionReturns the enum constant of this class with the specified name.static ManagerAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.static StringRepresent enum as string
-
Enum Constant Details
-
IMPORT
-
EXPORT
-
EXPORT_QUERY
-
ADD
-
APPEND
-
RESET_ITEM
-
RESET_ITEMS
-
SUMMARIZE_EACH
-
SUMMARIZE
-
SUMMARIZE_BY_ITEM_TASK
-
DELETE
-
DELETE_LIST
-
DELETE_ALL
-
ANNOTATE_JOB
-
ANNOTATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
makeCommand
Abstract method for values to create their correspondingAbstractCommand- Parameters:
target-cmdSpec-- Returns:
ManagerCommand
-
isManagerAction
-
isManagerAction
-
getCommandType
-
indexOf
-
hasQuery
Check if query is a valid action- Parameters:
query-- Returns:
-
get
Get manager action matching query- Parameters:
query-- Returns:
-
valuesString
-