Class WorkflowClientCallsInterceptorBase
java.lang.Object
io.temporal.common.interceptors.WorkflowClientCallsInterceptorBase
- All Implemented Interfaces:
WorkflowClientCallsInterceptor
public class WorkflowClientCallsInterceptorBase
extends Object
implements WorkflowClientCallsInterceptor
Convenience base class for
WorkflowClientCallsInterceptor implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.temporal.common.interceptors.WorkflowClientCallsInterceptor
WorkflowClientCallsInterceptor.CancelInput, WorkflowClientCallsInterceptor.CancelOutput, WorkflowClientCallsInterceptor.CountWorkflowOutput, WorkflowClientCallsInterceptor.CountWorkflowsInput, WorkflowClientCallsInterceptor.DescribeWorkflowInput, WorkflowClientCallsInterceptor.DescribeWorkflowOutput, WorkflowClientCallsInterceptor.GetResultAsyncOutput<R>, WorkflowClientCallsInterceptor.GetResultInput<R>, WorkflowClientCallsInterceptor.GetResultOutput<R>, WorkflowClientCallsInterceptor.ListWorkflowExecutionsInput, WorkflowClientCallsInterceptor.ListWorkflowExecutionsOutput, WorkflowClientCallsInterceptor.PollWorkflowUpdateInput<R>, WorkflowClientCallsInterceptor.PollWorkflowUpdateOutput<R>, WorkflowClientCallsInterceptor.QueryInput<R>, WorkflowClientCallsInterceptor.QueryOutput<R>, WorkflowClientCallsInterceptor.StartUpdateInput<R>, WorkflowClientCallsInterceptor.TerminateInput, WorkflowClientCallsInterceptor.TerminateOutput, WorkflowClientCallsInterceptor.WorkflowSignalInput, WorkflowClientCallsInterceptor.WorkflowSignalOutput, WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput, WorkflowClientCallsInterceptor.WorkflowSignalWithStartOutput, WorkflowClientCallsInterceptor.WorkflowStartInput, WorkflowClientCallsInterceptor.WorkflowStartOutput, WorkflowClientCallsInterceptor.WorkflowUpdateWithStartInput<R>, WorkflowClientCallsInterceptor.WorkflowUpdateWithStartOutput<R> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf you implement this method,WorkflowClientCallsInterceptor.getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.If you implement this method,WorkflowClientCallsInterceptor.getResult(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.If you implement this method,WorkflowClientCallsInterceptor.signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)most likely needs to be implemented too.If you implement this method,WorkflowClientCallsInterceptor.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<?>).
-
Constructor Details
-
WorkflowClientCallsInterceptorBase
-
-
Method Details
-
start
public WorkflowClientCallsInterceptor.WorkflowStartOutput start(WorkflowClientCallsInterceptor.WorkflowStartInput input) Description copied from interface:WorkflowClientCallsInterceptorIf you implement this method,WorkflowClientCallsInterceptor.signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)and @{link #updateWithStart} most likely need to be implemented too.- Specified by:
startin interfaceWorkflowClientCallsInterceptor- See Also:
-
signal
public WorkflowClientCallsInterceptor.WorkflowSignalOutput signal(WorkflowClientCallsInterceptor.WorkflowSignalInput input) Description copied from interface:WorkflowClientCallsInterceptorIf you implement this method,WorkflowClientCallsInterceptor.signalWithStart(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput)most likely needs to be implemented too.- Specified by:
signalin interfaceWorkflowClientCallsInterceptor- See Also:
-
signalWithStart
public WorkflowClientCallsInterceptor.WorkflowSignalWithStartOutput signalWithStart(WorkflowClientCallsInterceptor.WorkflowSignalWithStartInput input) - Specified by:
signalWithStartin interfaceWorkflowClientCallsInterceptor
-
updateWithStart
public <R> WorkflowClientCallsInterceptor.WorkflowUpdateWithStartOutput<R> updateWithStart(WorkflowClientCallsInterceptor.WorkflowUpdateWithStartInput<R> input) Description copied from interface:WorkflowClientCallsInterceptorIntercepts 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<?>).- Specified by:
updateWithStartin interfaceWorkflowClientCallsInterceptor
-
getResult
public <R> WorkflowClientCallsInterceptor.GetResultOutput<R> getResult(WorkflowClientCallsInterceptor.GetResultInput<R> input) throws TimeoutException Description copied from interface:WorkflowClientCallsInterceptorIf you implement this method,WorkflowClientCallsInterceptor.getResultAsync(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.- Specified by:
getResultin interfaceWorkflowClientCallsInterceptor- Throws:
TimeoutException- See Also:
-
getResultAsync
public <R> WorkflowClientCallsInterceptor.GetResultAsyncOutput<R> getResultAsync(WorkflowClientCallsInterceptor.GetResultInput<R> input) Description copied from interface:WorkflowClientCallsInterceptorIf you implement this method,WorkflowClientCallsInterceptor.getResult(io.temporal.common.interceptors.WorkflowClientCallsInterceptor.GetResultInput<R>)most likely needs to be implemented too.- Specified by:
getResultAsyncin interfaceWorkflowClientCallsInterceptor- See Also:
-
query
public <R> WorkflowClientCallsInterceptor.QueryOutput<R> query(WorkflowClientCallsInterceptor.QueryInput<R> input) - Specified by:
queryin interfaceWorkflowClientCallsInterceptor
-
startUpdate
public <R> WorkflowUpdateHandle<R> startUpdate(WorkflowClientCallsInterceptor.StartUpdateInput<R> input) - Specified by:
startUpdatein interfaceWorkflowClientCallsInterceptor
-
pollWorkflowUpdate
public <R> WorkflowClientCallsInterceptor.PollWorkflowUpdateOutput<R> pollWorkflowUpdate(WorkflowClientCallsInterceptor.PollWorkflowUpdateInput<R> input) - Specified by:
pollWorkflowUpdatein interfaceWorkflowClientCallsInterceptor
-
cancel
public WorkflowClientCallsInterceptor.CancelOutput cancel(WorkflowClientCallsInterceptor.CancelInput input) - Specified by:
cancelin interfaceWorkflowClientCallsInterceptor
-
terminate
public WorkflowClientCallsInterceptor.TerminateOutput terminate(WorkflowClientCallsInterceptor.TerminateInput input) - Specified by:
terminatein interfaceWorkflowClientCallsInterceptor
-
describe
public WorkflowClientCallsInterceptor.DescribeWorkflowOutput describe(WorkflowClientCallsInterceptor.DescribeWorkflowInput input) - Specified by:
describein interfaceWorkflowClientCallsInterceptor
-
listWorkflowExecutions
public WorkflowClientCallsInterceptor.ListWorkflowExecutionsOutput listWorkflowExecutions(WorkflowClientCallsInterceptor.ListWorkflowExecutionsInput input) - Specified by:
listWorkflowExecutionsin interfaceWorkflowClientCallsInterceptor
-
countWorkflows
public WorkflowClientCallsInterceptor.CountWorkflowOutput countWorkflows(WorkflowClientCallsInterceptor.CountWorkflowsInput input) - Specified by:
countWorkflowsin interfaceWorkflowClientCallsInterceptor
-