Package io.temporal.common.interceptors
Class WorkflowClientInterceptorBase
- java.lang.Object
-
- io.temporal.common.interceptors.WorkflowClientInterceptorBase
-
- All Implemented Interfaces:
WorkflowClientInterceptor
public class WorkflowClientInterceptorBase extends java.lang.Object implements WorkflowClientInterceptor
Convenience base class for WorkflowClientInterceptor implementations.
-
-
Constructor Summary
Constructors Constructor Description WorkflowClientInterceptorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ActivityCompletionClient
newActivityCompletionClient(ActivityCompletionClient next)
WorkflowStub
newUntypedWorkflowStub(io.temporal.api.common.v1.WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, WorkflowStub next)
Deprecated.WorkflowStub
newUntypedWorkflowStub(java.lang.String workflowType, WorkflowOptions options, WorkflowStub next)
Deprecated.WorkflowClientCallsInterceptor
workflowClientCallsInterceptor(WorkflowClientCallsInterceptor next)
Called once during creation of WorkflowClient to create a chain of Client Workflow Interceptors
-
-
-
Method Detail
-
newUntypedWorkflowStub
@Deprecated public WorkflowStub newUntypedWorkflowStub(java.lang.String workflowType, WorkflowOptions options, WorkflowStub next)
Deprecated.Description copied from interface:WorkflowClientInterceptor
Called when workflow stub is instantiated during creation of new workflow. It allows to decorate calls toWorkflowStub
instance which is an entry point for client code.- Specified by:
newUntypedWorkflowStub
in interfaceWorkflowClientInterceptor
- Returns:
- decorated stub
-
newUntypedWorkflowStub
@Deprecated public WorkflowStub newUntypedWorkflowStub(io.temporal.api.common.v1.WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, WorkflowStub next)
Deprecated.Description copied from interface:WorkflowClientInterceptor
Called when workflow stub is instantiated for a known existing workflow execution. It allows to decorate calls toWorkflowStub
instance which is an entry point for client code.- Specified by:
newUntypedWorkflowStub
in interfaceWorkflowClientInterceptor
- Returns:
- decorated stub
-
newActivityCompletionClient
public ActivityCompletionClient newActivityCompletionClient(ActivityCompletionClient next)
- Specified by:
newActivityCompletionClient
in interfaceWorkflowClientInterceptor
-
workflowClientCallsInterceptor
public WorkflowClientCallsInterceptor workflowClientCallsInterceptor(WorkflowClientCallsInterceptor next)
Description copied from interface:WorkflowClientInterceptor
Called once during creation of WorkflowClient to create a chain of Client Workflow Interceptors- Specified by:
workflowClientCallsInterceptor
in interfaceWorkflowClientInterceptor
- Parameters:
next
- next workflow client interceptor in the chain of interceptors- Returns:
- new interceptor that should decorate calls to
next
-
-