Enum Class ManagerTarget
- All Implemented Interfaces:
Serializable, Comparable<ManagerTarget>, Constable
Enum to suport
ManagerAction over specific TaskTideModel.
Exception is the ManagerTask value which goes towards WorkItem-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionabstract List<TaskTideModel> Fetchstatic ManagerTargetMap query toManagerTargetstatic booleanCheck whether enum has queryabstract booleanMethod to denote whether a givenManagerTargethas aTaskTideRepositoryassociated with itstatic intRetrieve index of queryabstract booleanisManagerTarget(String query) Check if value matches queryabstract booleanisManagerTarget(ManagerTarget query) Check if value matches querystatic ManagerTargetReturns the enum constant of this class with the specified name.static ManagerTarget[]values()Returns an array containing the constants of this enum class, in the order they are declared.static StringRepresent enum as stringstatic ManagerTarget[]Provides an array ofManagerTargetwhich have repositories associated with them
-
Enum Constant Details
-
MANAGERTASK
-
WORKITEM
-
STEP
-
WORKFLOW
-
JOB_ENVIRONMENT
-
METRIC_DATA
-
METRIC_PROFILE
-
-
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
-
hasRepository
public abstract boolean hasRepository()Method to denote whether a givenManagerTargethas aTaskTideRepositoryassociated with it- Returns:
- boolean
-
isManagerTarget
Check if value matches query- Parameters:
query-- Returns:
- boolean
-
isManagerTarget
Check if value matches query- Parameters:
query-- Returns:
- boolean
-
fetchModels
-
indexOf
-
hasQuery
Check whether enum has query- Parameters:
query-- Returns:
- boolean
-
get
Map query toManagerTarget- Parameters:
query-- Returns:
ManagerTarget
-
valuesString
-
withRepositories
Provides an array ofManagerTargetwhich have repositories associated with them- Returns:
- Array-
ManagerTarget
-