public interface WorkflowInboundCallsInterceptor
Modifier and Type | Interface and Description |
---|---|
static class |
WorkflowInboundCallsInterceptor.QueryInput |
static class |
WorkflowInboundCallsInterceptor.QueryOutput |
static class |
WorkflowInboundCallsInterceptor.SignalInput |
static class |
WorkflowInboundCallsInterceptor.WorkflowInput |
static class |
WorkflowInboundCallsInterceptor.WorkflowOutput |
Modifier and Type | Method and Description |
---|---|
WorkflowInboundCallsInterceptor.WorkflowOutput |
execute(WorkflowInboundCallsInterceptor.WorkflowInput input)
Called when workflow main method is called.
|
WorkflowInboundCallsInterceptor.QueryOutput |
handleQuery(WorkflowInboundCallsInterceptor.QueryInput input)
Called when a workflow is queried.
|
void |
handleSignal(WorkflowInboundCallsInterceptor.SignalInput input)
Called when signal is delivered to a workflow execution.
|
void |
init(WorkflowOutboundCallsInterceptor outboundCalls)
Called when workflow class is instantiated.
|
java.lang.Object |
newCallbackThread(java.lang.Runnable runnable,
java.lang.String name)
Intercepts creation of a workflow callback thread
|
java.lang.Object |
newWorkflowMethodThread(java.lang.Runnable runnable,
java.lang.String name)
Intercepts creation of the workflow main method thread
|
void init(WorkflowOutboundCallsInterceptor outboundCalls)
outboundCalls
- interceptor for calls that workflow makes to the SDKWorkflowInboundCallsInterceptor.WorkflowOutput execute(WorkflowInboundCallsInterceptor.WorkflowInput input)
void handleSignal(WorkflowInboundCallsInterceptor.SignalInput input)
WorkflowInboundCallsInterceptor.QueryOutput handleQuery(WorkflowInboundCallsInterceptor.QueryInput input)
java.lang.Object newWorkflowMethodThread(java.lang.Runnable runnable, @Nullable java.lang.String name)
runnable
- thread function to runname
- name of the thread, optionaljava.lang.Object newCallbackThread(java.lang.Runnable runnable, @Nullable java.lang.String name)
runnable
- thread function to runname
- name of the thread, optional