Class MockApprovalWorkFlowCheckerTask
- java.lang.Object
-
- com.redhat.parodos.workflow.task.BaseWorkFlowTask
-
- com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
-
- com.redhat.parodos.examples.complex.checker.MockApprovalWorkFlowCheckerTask
-
- All Implemented Interfaces:
WorkFlowTask,Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class MockApprovalWorkFlowCheckerTask extends BaseWorkFlowCheckerTask
A simple example of a WorkFlowChecker that always returns true- Author:
- Luke Shannon (Github: lshannon)
-
-
Constructor Summary
Constructors Constructor Description MockApprovalWorkFlowCheckerTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkReportcheckWorkFlowStatus(WorkContext context)List<WorkFlowTaskOutput>getWorkFlowTaskOutputs()List<WorkFlowTaskParameter>getWorkFlowTaskParameters()-
Methods inherited from class com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
execute, getType
-
Methods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
getName, getParameterValue, setBeanName
-
-
-
-
Method Detail
-
checkWorkFlowStatus
public WorkReport checkWorkFlowStatus(WorkContext context)
- Specified by:
checkWorkFlowStatusin classBaseWorkFlowCheckerTask
-
getWorkFlowTaskParameters
public List<WorkFlowTaskParameter> getWorkFlowTaskParameters()
-
getWorkFlowTaskOutputs
public List<WorkFlowTaskOutput> getWorkFlowTaskOutputs()
-
-