Package io.temporal.common.interceptors
Interface WorkflowClientCallsInterceptor
-
- All Known Implementing Classes:
RootWorkflowClientInvoker,WorkflowClientCallsInterceptorBase
public interface WorkflowClientCallsInterceptorIntercepts calls to theWorkflowClientrelated to the lifecycle of a Workflow.Prefer extending
WorkflowClientCallsInterceptorBaseand overriding only the methods you need instead of implementing this interface directly.WorkflowClientCallsInterceptorBaseprovides correct default implementations to all the methods of this interface.
-
-
Nested Class Summary
-
Method Summary
-
-
-
Method Detail
-
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.
-
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.
-
signalWithStart
WorkflowClientCallsInterceptor.WorkflowSignalWithStartOutput signalWithStart(WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput input)
-
updateWithStart
<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 java.util.concurrent.TimeoutException
If you implement this method,getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.- Throws:
java.util.concurrent.TimeoutException- See Also:
getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)
-
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.
-
query
<R> WorkflowClientCallsInterceptor.QueryOutput<R> query(WorkflowClientCallsInterceptor.QueryInput<R> input)
-
startUpdate
<R> WorkflowUpdateHandle<R> startUpdate(WorkflowClientCallsInterceptor.StartUpdateInput<R> input)
-
pollWorkflowUpdate
<R> WorkflowClientCallsInterceptor.PollWorkflowUpdateOutput<R> pollWorkflowUpdate(WorkflowClientCallsInterceptor.PollWorkflowUpdateInput<R> input)
-
cancel
WorkflowClientCallsInterceptor.CancelOutput cancel(WorkflowClientCallsInterceptor.CancelInput input)
-
terminate
WorkflowClientCallsInterceptor.TerminateOutput terminate(WorkflowClientCallsInterceptor.TerminateInput input)
-
describe
WorkflowClientCallsInterceptor.DescribeWorkflowOutput describe(WorkflowClientCallsInterceptor.DescribeWorkflowInput input)
-
-