@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface WorkflowMethod
| Modifier and Type | Optional Element and Description |
|---|---|
int |
executionStartToCloseTimeoutSeconds
Maximum workflow execution time.
|
java.lang.String |
name
Name of the workflow type.
|
java.lang.String |
taskList
Task list to use when delivering workflow tasks.
|
int |
taskStartToCloseTimeoutSeconds
Maximum execution time of a single workflow task.
|
java.lang.String |
workflowId
Workflow ID to use.
|
WorkflowIdReusePolicy |
workflowIdReusePolicy
How to react if there is completed workflow with the same ID.
|
public abstract java.lang.String name
public abstract java.lang.String workflowId
WorkflowIdReusePolicy is AllowDuplicate in this case.public abstract WorkflowIdReusePolicy workflowIdReusePolicy
public abstract int executionStartToCloseTimeoutSeconds
executionStartToCloseTimeoutSeconds() or WorkflowOptions.getExecutionStartToCloseTimeout().public abstract int taskStartToCloseTimeoutSeconds