Class AbstractWorkflowExecutor
java.lang.Object
com.aizuda.snailjob.server.job.task.support.executor.workflow.AbstractWorkflowExecutor
- All Implemented Interfaces:
WorkflowExecutor,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CallbackWorkflowExecutor,DecisionWorkflowExecutor,JobTaskWorkflowExecutor
public abstract class AbstractWorkflowExecutor
extends Object
implements WorkflowExecutor, org.springframework.beans.factory.InitializingBean
- Since:
- 2.6.0
- Author:
- xiaowoniu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidafterExecute(WorkflowExecutorContext context) voidprotected abstract voidbeforeExecute(WorkflowExecutorContext context) protected abstract voiddoExecute(WorkflowExecutorContext context) protected abstract booleandoPreValidate(WorkflowExecutorContext context) voidexecute(WorkflowExecutorContext context) protected JobTaskgenerateJobTask(WorkflowExecutorContext context, JobTaskBatch jobTaskBatch) protected JobTaskBatchprotected booleanpreValidate(WorkflowExecutorContext context) protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aizuda.snailjob.server.job.task.support.WorkflowExecutor
getWorkflowNodeType
-
Field Details
-
workflowBatchHandler
-
-
Constructor Details
-
AbstractWorkflowExecutor
public AbstractWorkflowExecutor()
-
-
Method Details
-
execute
- Specified by:
executein interfaceWorkflowExecutor
-
preValidate
-
doPreValidate
-
afterExecute
-
beforeExecute
-
doExecute
-
generateJobTaskBatch
-
workflowTaskExecutor
-
generateJobTask
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-