public interface ChildWorkflowStub
Workflow.newChildWorkflowStub(Class)
Modifier and Type | Method and Description |
---|---|
<R> R |
execute(java.lang.Class<R> resultClass,
java.lang.Object... args) |
<R> R |
execute(java.lang.Class<R> resultClass,
java.lang.reflect.Type resultType,
java.lang.Object... args) |
<R> Promise<R> |
executeAsync(java.lang.Class<R> resultClass,
java.lang.Object... args) |
<R> Promise<R> |
executeAsync(java.lang.Class<R> resultClass,
java.lang.reflect.Type resultType,
java.lang.Object... args) |
static <T> ChildWorkflowStub |
fromTyped(T typed)
Extracts untyped WorkflowStub from a typed workflow stub created through
Workflow.newChildWorkflowStub(Class) . |
Promise<io.temporal.api.common.v1.WorkflowExecution> |
getExecution()
Returns promise that becomes ready once the child has started.
|
ChildWorkflowOptions |
getOptions() |
java.lang.String |
getWorkflowType() |
void |
signal(java.lang.String signalName,
java.lang.Object... args) |
static <T> ChildWorkflowStub fromTyped(T typed)
Workflow.newChildWorkflowStub(Class)
.T
- type of the workflow stub interfacetyped
- typed workflow stubjava.lang.String getWorkflowType()
Promise<io.temporal.api.common.v1.WorkflowExecution> getExecution()
ChildWorkflowOptions getOptions()
<R> R execute(java.lang.Class<R> resultClass, java.lang.Object... args)
<R> R execute(java.lang.Class<R> resultClass, java.lang.reflect.Type resultType, java.lang.Object... args)
<R> Promise<R> executeAsync(java.lang.Class<R> resultClass, java.lang.Object... args)
<R> Promise<R> executeAsync(java.lang.Class<R> resultClass, java.lang.reflect.Type resultType, java.lang.Object... args)
void signal(java.lang.String signalName, java.lang.Object... args)