Interface CommonDecorator
- All Known Subinterfaces:
BroadcastMulticastCommunicationDecorator, BroadcastUserCommunicationDecorator, BroadcastUserListCommunicationDecorator, Communication, ExternalCommunicationDecorator, FlowAttachmentCommunication, FlowBindingLogicServerCommunication, FlowBroadcastCommunication, FlowCommon, FlowCommunicationEventBus, FlowContext, FlowExternalCommunication, FlowExternalWriteCommunication, FlowLogicCallCollectCommunication, FlowLogicCallCommunication, FlowLogicSendCommunication, FLowUserIdSettingCommunication, LogicCallCollectCommunicationDecorator, LogicCallCommunicationDecorator, LogicSendCommunicationDecorator
- All Known Implementing Classes:
DefaultCommunication, DefaultFlowContext
public interface CommonDecorator
Base decorator interface providing access to the communication aggregation, trace ID, and current executor.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-28
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommunicationAggregationGet the global communication aggregation instance.default ExecutorGet the executor assigned to the current flow context.default StringGet the current trace ID from the MDC context.
-
Method Details
-
getCommunicationAggregation
Get the global communication aggregation instance.- Returns:
- the shared
CommunicationAggregationsingleton
-
getTraceId
Get the current trace ID from the MDC context.- Returns:
- the trace ID string, or
nullif not set
-
getCurrentExecutor
-