Interface WorkflowClientCallsInterceptor
- All Known Implementing Classes:
RootWorkflowClientInvoker,WorkflowClientCallsInterceptorBase
Intercepts calls to the
WorkflowClient related to the lifecycle of a
Workflow.
Prefer extending WorkflowClientCallsInterceptorBase and overriding only the methods
you need instead of implementing this interface directly. WorkflowClientCallsInterceptorBase provides correct default implementations to all the methods
of this interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionIf you implement this method,getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.If you implement this method,getResult(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.If you implement this method,signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)most likely needs to be implemented too.If you implement this method,signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)and @{link #updateWithStart} most likely need to be implemented too.<R> WorkflowUpdateHandle<R> Intercepts calls fromWorkflowStub.startUpdateWithStart(io.temporal.client.UpdateOptions<R>, java.lang.Object[], java.lang.Object[])andWorkflowStub.executeUpdateWithStart(io.temporal.client.UpdateOptions<R>, java.lang.Object[], java.lang.Object[])as well asWorkflowClient.startUpdateWithStart(io.temporal.workflow.Functions.Proc, io.temporal.client.UpdateOptions<R>, io.temporal.client.WithStartWorkflowOperation<?>)andWorkflowClient.executeUpdateWithStart(io.temporal.workflow.Functions.Proc, io.temporal.client.UpdateOptions<R>, io.temporal.client.WithStartWorkflowOperation<?>).
-
Method Details
-
start
WorkflowClientCallsInterceptor.WorkflowStartOutput start(WorkflowClientCallsInterceptor.WorkflowStartInput input) If you implement this method,signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)and @{link #updateWithStart} most likely need to be implemented too.- See Also:
-
signal
WorkflowClientCallsInterceptor.WorkflowSignalOutput signal(WorkflowClientCallsInterceptor.WorkflowSignalInput input) If you implement this method,signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)most likely needs to be implemented too.- See Also:
-
signalWithStart
-
updateWithStart
@Experimental <R> WorkflowClientCallsInterceptor.WorkflowUpdateWithStartOutput<R> updateWithStart(WorkflowClientCallsInterceptor.WorkflowUpdateWithStartInput<R> input) Intercepts calls fromWorkflowStub.startUpdateWithStart(io.temporal.client.UpdateOptions<R>, java.lang.Object[], java.lang.Object[])andWorkflowStub.executeUpdateWithStart(io.temporal.client.UpdateOptions<R>, java.lang.Object[], java.lang.Object[])as well asWorkflowClient.startUpdateWithStart(io.temporal.workflow.Functions.Proc, io.temporal.client.UpdateOptions<R>, io.temporal.client.WithStartWorkflowOperation<?>)andWorkflowClient.executeUpdateWithStart(io.temporal.workflow.Functions.Proc, io.temporal.client.UpdateOptions<R>, io.temporal.client.WithStartWorkflowOperation<?>). -
getResult
<R> WorkflowClientCallsInterceptor.GetResultOutput<R> getResult(WorkflowClientCallsInterceptor.GetResultInput<R> input) throws TimeoutException If you implement this method,getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.- Throws:
TimeoutException- See Also:
-
getResultAsync
<R> WorkflowClientCallsInterceptor.GetResultAsyncOutput<R> getResultAsync(WorkflowClientCallsInterceptor.GetResultInput<R> input) If you implement this method,getResult(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.- See Also:
-
query
<R> WorkflowClientCallsInterceptor.QueryOutput<R> query(WorkflowClientCallsInterceptor.QueryInput<R> input) -
startUpdate
-
pollWorkflowUpdate
<R> WorkflowClientCallsInterceptor.PollWorkflowUpdateOutput<R> pollWorkflowUpdate(WorkflowClientCallsInterceptor.PollWorkflowUpdateInput<R> input) -
cancel
-
terminate
-
describe
-
listWorkflowExecutions
WorkflowClientCallsInterceptor.ListWorkflowExecutionsOutput listWorkflowExecutions(WorkflowClientCallsInterceptor.ListWorkflowExecutionsInput input) -
countWorkflows
-