Enum Class TaskTideModelType
- All Implemented Interfaces:
Serializable, Comparable<TaskTideModelType>, Constable
Enum of valid model types
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskTideModelTypeReturn the TaskTide model type for query or nullstatic booleanCheck if queried type existsstatic intReturn index of queried modelabstract booleanisClassName(String query) Checks whether queried string matches the simple classabstract booleanCompare to queried model stringabstract booleanisModel(TaskTideModelType query) Compare to queried to modelabstract StringtoString()Represent value as a stringstatic TaskTideModelTypeReturns the enum constant of this class with the specified name.static TaskTideModelType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
-
isClassName
Checks whether queried string matches the simple class- Parameters:
query-- Returns:
- boolean
-
isModel
Compare to queried model string- Parameters:
query-- Returns:
- boolean
-
isModel
Compare to queried to model- Parameters:
query-- Returns:
- boolean
-
toString
Represent value as a string- Overrides:
toStringin classEnum<TaskTideModelType>- Returns:
- String
-
indexOf
Return index of queried model- Parameters:
query-- Returns:
- int
-
hasType
Check if queried type exists- Parameters:
query-- Returns:
- boolean
-
getQuery
Return the TaskTide model type for query or null- Parameters:
query-- Returns:
TaskTideModelType
-