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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultTypegetResultType()What type of result this is.StepInfogetStepInfo()TgetValue()
-
-
-
Method Detail
-
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 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- Returns:
- the
ResultTypefor this result
-
-