Package io.temporal.common.interceptors
Interface WorkflowClientCallsInterceptor
-
- All Known Implementing Classes:
RootWorkflowClientInvoker
,WorkflowClientCallsInterceptorBase
public interface WorkflowClientCallsInterceptor
Intercepts calls to theWorkflowClient
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
-
Method Summary
-
-
-
Method Detail
-
start
WorkflowClientCallsInterceptor.WorkflowStartOutput start(WorkflowClientCallsInterceptor.WorkflowStartInput input)
If you implement this method,signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)
most likely needs 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)
-
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> WorkflowClientCallsInterceptor.StartUpdateOutput<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)
-
-