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
Nested Classes Modifier and Type Interface Description static class
WorkflowClientCallsInterceptor.CancelInput
static class
WorkflowClientCallsInterceptor.CancelOutput
static class
WorkflowClientCallsInterceptor.GetResultAsyncOutput<R>
static class
WorkflowClientCallsInterceptor.GetResultInput<R>
static class
WorkflowClientCallsInterceptor.GetResultOutput<R>
static class
WorkflowClientCallsInterceptor.QueryInput<R>
static class
WorkflowClientCallsInterceptor.QueryOutput<R>
static class
WorkflowClientCallsInterceptor.TerminateInput
static class
WorkflowClientCallsInterceptor.TerminateOutput
static class
WorkflowClientCallsInterceptor.WorkflowSignalInput
static class
WorkflowClientCallsInterceptor.WorkflowSignalOutput
static class
WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput
static class
WorkflowClientCallsInterceptor.WorkflowSignalWithStartOutput
static class
WorkflowClientCallsInterceptor.WorkflowStartInput
static class
WorkflowClientCallsInterceptor.WorkflowStartOutput
-
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)
-
cancel
WorkflowClientCallsInterceptor.CancelOutput cancel(WorkflowClientCallsInterceptor.CancelInput input)
-
terminate
WorkflowClientCallsInterceptor.TerminateOutput terminate(WorkflowClientCallsInterceptor.TerminateInput input)
-
-