Class TracingWorkerInterceptor
java.lang.Object
io.temporal.testing.internal.TracingWorkerInterceptor
- All Implemented Interfaces:
io.temporal.common.interceptors.WorkerInterceptor
public class TracingWorkerInterceptor
extends Object
implements io.temporal.common.interceptors.WorkerInterceptor
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTrace()io.temporal.common.interceptors.ActivityInboundCallsInterceptorinterceptActivity(io.temporal.common.interceptors.ActivityInboundCallsInterceptor next) io.temporal.common.interceptors.NexusOperationInboundCallsInterceptorinterceptNexusOperation(io.nexusrpc.handler.OperationContext context, io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor next) io.temporal.common.interceptors.WorkflowInboundCallsInterceptorinterceptWorkflow(io.temporal.common.interceptors.WorkflowInboundCallsInterceptor next) voidsetExpected(String... expected)
-
Constructor Details
-
TracingWorkerInterceptor
-
-
Method Details
-
getTrace
-
setExpected
-
assertExpected
public void assertExpected() -
interceptWorkflow
public io.temporal.common.interceptors.WorkflowInboundCallsInterceptor interceptWorkflow(io.temporal.common.interceptors.WorkflowInboundCallsInterceptor next) - Specified by:
interceptWorkflowin interfaceio.temporal.common.interceptors.WorkerInterceptor
-
interceptActivity
public io.temporal.common.interceptors.ActivityInboundCallsInterceptor interceptActivity(io.temporal.common.interceptors.ActivityInboundCallsInterceptor next) - Specified by:
interceptActivityin interfaceio.temporal.common.interceptors.WorkerInterceptor
-
interceptNexusOperation
public io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor interceptNexusOperation(io.nexusrpc.handler.OperationContext context, io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor next) - Specified by:
interceptNexusOperationin interfaceio.temporal.common.interceptors.WorkerInterceptor
-