Class DefaultResult<T>
- java.lang.Object
-
- org.kinotic.continuum.grind.internal.api.DefaultResult<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultResult()DefaultResult(StepInfo stepInfo, ResultType resultType, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultTypegetResultType()What type of result this is.StepInfogetStepInfo()TgetValue()
-
-
-
Constructor Detail
-
DefaultResult
public DefaultResult()
-
DefaultResult
public DefaultResult(StepInfo stepInfo, ResultType resultType, T value)
-
-
Method Detail
-
getStepInfo
public StepInfo getStepInfo()
Description copied from interface:Result- Specified by:
getStepInfoin interfaceResult<T>- Returns:
- the
StepInfofor thisResult
-
getResultType
public ResultType getResultType()
Description copied from interface:ResultWhat type of result this is. The results that are produced by aJobDefinitiondepend on what options you pass into theJobServiceduring assembly The result type will effect the meaning of the value ForResultType.VALUEthe value will be the "final" value produced by aTaskForResultType.NOOPthe value will be null ForResultType.DIAGNOSTICthe value will be a simple message describing something that happened ForResultType.PROGRESSthe value will be aProgressobject ForResultType.EXCEPTIONthe value will be aThrowableobject- Specified by:
getResultTypein interfaceResult<T>- Returns:
- the
ResultTypefor this result
-
-