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