Class SimpleTaskOneChecker
- java.lang.Object
-
- com.redhat.parodos.workflow.task.BaseWorkFlowTask
-
- com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
-
- com.redhat.parodos.examples.escalation.checker.SimpleTaskOneChecker
-
- All Implemented Interfaces:
WorkFlowTask,Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class SimpleTaskOneChecker extends BaseWorkFlowCheckerTask
A simple WorkflowChecker that will fail 3 times and then succeed every time after- Author:
- Luke Shannon (Github: lshannon), Gloria Ciavarrini (Github: gciavarrini)
-
-
Constructor Summary
Constructors Constructor Description SimpleTaskOneChecker(WorkFlow simpleTaskOneEscalatorWorkflow, long sla)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkReportcheckWorkFlowStatus(WorkContext context)-
Methods inherited from class com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
execute, getType
-
Methods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
getName, getOptionalParameterValue, getRequiredParameterValue, getWorkFlowCheckers, setBeanName, setWorkFlowCheckers
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.redhat.parodos.workflow.task.WorkFlowTask
getAsJsonSchema, getWorkFlowTaskOutputs, getWorkFlowTaskParameters
-
-
-
-
Constructor Detail
-
SimpleTaskOneChecker
public SimpleTaskOneChecker(WorkFlow simpleTaskOneEscalatorWorkflow, long sla)
-
-
Method Detail
-
checkWorkFlowStatus
protected WorkReport checkWorkFlowStatus(WorkContext context)
- Specified by:
checkWorkFlowStatusin classBaseWorkFlowCheckerTask
-
-