Class FlowStartedEvent
java.lang.Object
cloud.opencode.base.event.Event
cloud.opencode.base.flow.event.FlowStartedEvent
Domain event raised when a
FlowInstance is started.
流程实例启动时发布的领域事件。- Since:
- JDK 25, opencode-base-flow V1.0.5
- Author:
- Leon Soo
-
Constructor Summary
ConstructorsConstructorDescriptionFlowStartedEvent(String instanceId, String flowKey, String initiatorId) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Event
cancel, getId, getSource, getTimestamp, isCancelled, toString
-
Constructor Details
-
FlowStartedEvent
-
-
Method Details
-
getInstanceId
- Returns:
- instance id — 实例 ID
-
getFlowKey
- Returns:
- flow key — 业务 key
-
getInitiatorId
- Returns:
- initiator user id — 发起人
-