public class WorkflowInstanceCreator extends TriggerInstanceCreator<WorkflowInstanceCreator.WorkflowInstance>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WorkflowInstanceCreator.WorkflowInstance |
jobManager| 构造器和说明 |
|---|
WorkflowInstanceCreator(DistributedJobManager jobManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
WorkflowInstanceCreator.WorkflowInstance |
create(cn.ponfee.disjob.core.model.SchedJob job,
cn.ponfee.disjob.core.enums.RunType runType,
long triggerTime)
Creates instance and tasks
|
void |
dispatch(cn.ponfee.disjob.core.model.SchedJob job,
WorkflowInstanceCreator.WorkflowInstance wnstance)
Dispatch created task
|
createWithSaveAndDispatch, ofpublic WorkflowInstanceCreator(DistributedJobManager jobManager)
public WorkflowInstanceCreator.WorkflowInstance create(cn.ponfee.disjob.core.model.SchedJob job, cn.ponfee.disjob.core.enums.RunType runType, long triggerTime) throws cn.ponfee.disjob.core.exception.JobException
TriggerInstanceCreatorcreate 在类中 TriggerInstanceCreator<WorkflowInstanceCreator.WorkflowInstance>job - the sched jobrunType - the run typetriggerTime - the trigger timecn.ponfee.disjob.core.exception.JobException - if split task occur JobExceptionpublic void dispatch(cn.ponfee.disjob.core.model.SchedJob job,
WorkflowInstanceCreator.WorkflowInstance wnstance)
TriggerInstanceCreatordispatch 在类中 TriggerInstanceCreator<WorkflowInstanceCreator.WorkflowInstance>job - the sched jobwnstance - the instanceCopyright © 2023. All rights reserved.