Package org.kinotic.continuum.grind.api
Interface Result<T>
- All Known Implementing Classes:
DefaultResult
public interface Result<T>
Created by Navid Mitchell on 3/19/20
-
Method Summary
-
Method Details
-
getStepInfo
StepInfo getStepInfo() -
getResultType
ResultType getResultType()What 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- Returns:
- the
ResultTypefor this result
-
getValue
T getValue()- Returns:
- the result of a successful execution of the associated
Step
-