Class DefaultResult<T>
java.lang.Object
org.kinotic.continuum.grind.internal.api.DefaultResult<T>
- All Implemented Interfaces:
Result<T>
Created by Navid Mitchell on 3/19/20
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultResult
public DefaultResult() -
DefaultResult
-
-
Method Details
-
getStepInfo
Description copied from interface:Result- Specified by:
getStepInfoin interfaceResult<T>- Returns:
- the
StepInfofor thisResult
-
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 affect 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
-
getValue
-