Package org.kinotic.continuum.grind.api
Enum Class ResultType
- All Implemented Interfaces:
Serializable,Comparable<ResultType>,Constable
Created by Navid Mitchell on 11/11/20
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe result value is a Diagnostic messageThe result value is aThrowableindicating that an error occurred at the given stepThe task resulted in no action being taken the value will be nullThe result value is aProgressobjectThe result value is the final VALUE of the task -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultTypeReturns the enum constant of this class with the specified name.static ResultType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALUE
The result value is the final VALUE of the task -
NOOP
The task resulted in no action being taken the value will be null -
DIAGNOSTIC
The result value is a Diagnostic message -
PROGRESS
The result value is aProgressobject -
DYNAMIC_STEPS
-
EXCEPTION
The result value is aThrowableindicating that an error occurred at the given step
-
-
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
-