public class SubWorkflow extends WorkflowSystemTask
Constructor and Description |
---|
SubWorkflow() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(com.netflix.conductor.common.run.Workflow workflow,
com.netflix.conductor.common.metadata.tasks.Task task,
WorkflowExecutor provider)
Cancel task execution
|
boolean |
execute(com.netflix.conductor.common.run.Workflow workflow,
com.netflix.conductor.common.metadata.tasks.Task task,
WorkflowExecutor provider) |
void |
start(com.netflix.conductor.common.run.Workflow workflow,
com.netflix.conductor.common.metadata.tasks.Task task,
WorkflowExecutor provider)
Start the task execution
|
get, getName, is, toString
public void start(com.netflix.conductor.common.run.Workflow workflow, com.netflix.conductor.common.metadata.tasks.Task task, WorkflowExecutor provider) throws java.lang.Exception
WorkflowSystemTask
start
in class WorkflowSystemTask
workflow
- Workflow for which the task is being startedtask
- Instance of the Taskprovider
- Workflow Executorjava.lang.Exception
- If there is an error when starting the taskpublic boolean execute(com.netflix.conductor.common.run.Workflow workflow, com.netflix.conductor.common.metadata.tasks.Task task, WorkflowExecutor provider) throws java.lang.Exception
execute
in class WorkflowSystemTask
workflow
- Workflow for which the task is being startedtask
- Instance of the Taskprovider
- Workflow Executorjava.lang.Exception
- If there is an error when starting the taskpublic void cancel(com.netflix.conductor.common.run.Workflow workflow, com.netflix.conductor.common.metadata.tasks.Task task, WorkflowExecutor provider) throws java.lang.Exception
WorkflowSystemTask
cancel
in class WorkflowSystemTask
workflow
- Workflow for which the task is being startedtask
- Instance of the Taskprovider
- Workflow Executorjava.lang.Exception
- If there is an error when starting the task