Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancellationTrace ¶
func (CancellationTrace) TraceInterface ¶
func (t CancellationTrace) TraceInterface()
type CeaseFlowTrace ¶
type CeaseFlowTrace struct{}
func (CeaseFlowTrace) TraceInterface ¶
func (t CeaseFlowTrace) TraceInterface()
type CompletionTrace ¶
type CompletionTrace struct {
Node schema.FlowNodeInterface
}
func (CompletionTrace) TraceInterface ¶
func (t CompletionTrace) TraceInterface()
type Flow ¶
type Flow struct {
// contains filtered or unexported fields
}
Flow Represents a flow
func New ¶
func New(definitions *schema.Definitions, current flow_node.IFlowNode, tracer tracing.ITracer, flowNodeMapping *flow_node.FlowNodeMapping, flowWaitGroup *sync.WaitGroup, idGenerator id.IGenerator, actionTransformer flow_node.ActionTransformer, locator data.IFlowDataLocator, ) *Flow
New creates a new flow from a flow node
The flow does nothing until it is explicitly started.
func (*Flow) SequenceFlow ¶
func (flow *Flow) SequenceFlow() *sequence_flow.SequenceFlow
func (*Flow) SetTerminate ¶
type LeaveTrace ¶ added in v0.3.0
type LeaveTrace struct {
Node schema.FlowNodeInterface
}
func (LeaveTrace) TraceInterface ¶ added in v0.3.0
func (t LeaveTrace) TraceInterface()
type NewFlowTrace ¶
func (NewFlowTrace) TraceInterface ¶
func (t NewFlowTrace) TraceInterface()
type Retry ¶
type Retry struct {
// contains filtered or unexported fields
}
Retry describes the retry handler for Flow
func (*Retry) IsContinue ¶
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func (*Snapshot) SequenceFlow ¶
func (s *Snapshot) SequenceFlow() *sequence_flow.SequenceFlow
type TerminationTrace ¶
type TerminationTrace struct { FlowId id.Id Source schema.FlowNodeInterface }
func (TerminationTrace) TraceInterface ¶
func (t TerminationTrace) TraceInterface()
type Trace ¶
type Trace struct { Source schema.FlowNodeInterface Flows []Snapshot }
func (Trace) TraceInterface ¶
func (t Trace) TraceInterface()
type VisitTrace ¶
type VisitTrace struct {
Node schema.FlowNodeInterface
}
func (VisitTrace) TraceInterface ¶
func (t VisitTrace) TraceInterface()
Click to show internal directories.
Click to hide internal directories.