Documentation
¶
Index ¶
- type ActivitiListener
- type BoundaryEvent
- type BpmnModel
- type ConditionalEventDefinition
- type DefaultBaseElement
- type EndEvent
- type ExclusiveGateway
- type ExtensionElement
- type FlowElementsContainer
- type FlowNode
- func (flow *FlowNode) GetBehavior() delegate.ActivityBehavior
- func (flow *FlowNode) GetHandlerType() string
- func (flow *FlowNode) GetId() string
- func (flow *FlowNode) GetIncoming() []delegate.FlowElement
- func (flow *FlowNode) GetName() string
- func (flow *FlowNode) GetOutgoing() []delegate.FlowElement
- func (flow *FlowNode) GetSourceFlowElement() delegate.FlowElement
- func (flow *FlowNode) GetTargetFlowElement() delegate.FlowElement
- func (flow *FlowNode) SetBehavior(behavior delegate.ActivityBehavior)
- func (flow *FlowNode) SetIncoming(f []delegate.FlowElement)
- func (flow *FlowNode) SetOutgoing(f []delegate.FlowElement)
- func (flow *FlowNode) SetSourceFlowElement(f delegate.FlowElement)
- func (flow *FlowNode) SetTargetFlowElement(f delegate.FlowElement)
- func (flow FlowNode) String() string
- type FormButtonEventDefinition
- type Gateway
- type IEqual
- type InclusiveGateway
- type IntermediateCatchEvent
- type LinkEventDefinition
- type Message
- type MessageEventDefinition
- type MultiInstanceLoopCharacteristics
- type ParallelGateway
- type Process
- type SequenceFlow
- type StartEvent
- type SubProcess
- type TimerEventDefinition
- type UserTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivitiListener ¶
type ActivitiListener struct {
EventType string `xml:"event,attr"`
}
func (ActivitiListener) String ¶
func (receiver ActivitiListener) String() string
type BoundaryEvent ¶
type BoundaryEvent struct {
*FlowNode
AttachedToRef string `xml:"attachedToRef,attr"`
CancelActivity string `xml:"cancelActivity,attr"`
TimerEventDefinition TimerEventDefinition `xml:"timerEventDefinition"`
}
type BpmnModel ¶
type BpmnModel struct {
Processes []*Process
}
func (*BpmnModel) AddProcess ¶
func (BpmnModel) GetMainProcess ¶
func (BpmnModel) GetProcess ¶
func (*BpmnModel) GetProcessById ¶
type ConditionalEventDefinition ¶
type ConditionalEventDefinition struct {
DefaultBaseElement
Condition string `xml:"condition"`
}
func (ConditionalEventDefinition) GetHandlerType ¶
func (c ConditionalEventDefinition) GetHandlerType() string
type DefaultBaseElement ¶
func (DefaultBaseElement) GetId ¶
func (d DefaultBaseElement) GetId() string
func (DefaultBaseElement) GetName ¶
func (d DefaultBaseElement) GetName() string
func (DefaultBaseElement) String ¶
func (d DefaultBaseElement) String() string
type ExclusiveGateway ¶
type ExclusiveGateway struct {
Gateway
}
func (ExclusiveGateway) GetType ¶
func (exclusiveGateway ExclusiveGateway) GetType() string
type ExtensionElement ¶
type ExtensionElement struct {
TaskListener []ActivitiListener `xml:"taskListener"`
}
func (ExtensionElement) String ¶
func (receiver ExtensionElement) String() string
type FlowElementsContainer ¶
type FlowElementsContainer interface {
AddFlowElement(element delegate.FlowElement)
}
type FlowNode ¶
type FlowNode struct {
delegate.BaseHandlerType
DefaultBaseElement
IncomingFlow []delegate.FlowElement
OutgoingFlow []delegate.FlowElement
SourceFlowElement delegate.FlowElement
TargetFlowElement delegate.FlowElement
Behavior delegate.ActivityBehavior
}
父类实现体
func (*FlowNode) GetBehavior ¶
func (flow *FlowNode) GetBehavior() delegate.ActivityBehavior
func (*FlowNode) GetHandlerType ¶
func (*FlowNode) GetIncoming ¶
func (flow *FlowNode) GetIncoming() []delegate.FlowElement
func (*FlowNode) GetOutgoing ¶
func (flow *FlowNode) GetOutgoing() []delegate.FlowElement
func (*FlowNode) GetSourceFlowElement ¶
func (flow *FlowNode) GetSourceFlowElement() delegate.FlowElement
func (*FlowNode) GetTargetFlowElement ¶
func (flow *FlowNode) GetTargetFlowElement() delegate.FlowElement
func (*FlowNode) SetBehavior ¶
func (flow *FlowNode) SetBehavior(behavior delegate.ActivityBehavior)
func (*FlowNode) SetIncoming ¶
func (flow *FlowNode) SetIncoming(f []delegate.FlowElement)
func (*FlowNode) SetOutgoing ¶
func (flow *FlowNode) SetOutgoing(f []delegate.FlowElement)
func (*FlowNode) SetSourceFlowElement ¶
func (flow *FlowNode) SetSourceFlowElement(f delegate.FlowElement)
func (*FlowNode) SetTargetFlowElement ¶
func (flow *FlowNode) SetTargetFlowElement(f delegate.FlowElement)
type InclusiveGateway ¶
type InclusiveGateway struct {
Gateway
}
func (InclusiveGateway) GetType ¶
func (inclusiveGateway InclusiveGateway) GetType() string
type IntermediateCatchEvent ¶
type IntermediateCatchEvent struct {
FlowNode
MessageEventDefinition *MessageEventDefinition `xml:"messageEventDefinition"`
TimerEventDefinition *TimerEventDefinition `xml:"timerEventDefinition"`
LinkEventDefinition *LinkEventDefinition `xml:"linkEventDefinition"`
ConditionalEventDefinition *ConditionalEventDefinition `xml:"conditionalEventDefinition"`
FormButtonEventDefinition *FormButtonEventDefinition `xml:"extensionElements>formButtonEventDefinition"`
}
IntermediateCatchEvent 中间抛出事件
func (IntermediateCatchEvent) GetType ¶
func (event IntermediateCatchEvent) GetType() string
type LinkEventDefinition ¶
type LinkEventDefinition struct {
DefaultBaseElement
}
type Message ¶
type Message struct {
delegate.BaseElement
}
type MessageEventDefinition ¶
type MessageEventDefinition struct {
MessageRef string `xml:"messageRef,attr"`
}
消息事件
type MultiInstanceLoopCharacteristics ¶
type MultiInstanceLoopCharacteristics struct {
IsSequential bool `xml:"isSequential,attr"`
Collection string `xml:"collection,attr"`
CompletionCondition string `xml:"completionCondition"`
}
func (MultiInstanceLoopCharacteristics) String ¶
func (receiver MultiInstanceLoopCharacteristics) String() string
type ParallelGateway ¶
type ParallelGateway struct {
Gateway
}
func (ParallelGateway) GetType ¶
func (parallelGateway ParallelGateway) GetType() string
type Process ¶
type Process struct {
FlowNode
IsExecutable string `xml:"isExecutable,attr"`
// Attributes below aren't used
//Documentation string `xml:"documentation"`
//IsExecutable string `xml:"isExecutable,attr"`
//StartEvents []StartEvent `xml:"startEvent"`
//EndEvents []EndEvent `xml:"endEvent"`
//UserTasks []UserTask `xml:"userTask"`
//SequenceFlows []SequenceFlow `xml:"sequenceFlow"`
//ExclusiveGateways []ExclusiveGateway `xml:"exclusiveGateway"`
//InclusiveGateways []InclusiveGateway `xml:"inclusiveGateway"`
//ParallelGateways []ParallelGateway `xml:"parallelGateway"`
//BoundaryEvents []BoundaryEvent `xml:"boundaryEvent"`
//IntermediateCatchEvents []IntermediateCatchEvent `xml:"intermediateCatchEvent"`
//SubProcesses []SubProcess `xml:"subProcess"`
FlowElementList []delegate.FlowElement
InitialFlowElement delegate.FlowElement
FlowElementMap map[string]delegate.FlowElement
}
func (*Process) AddFlowElement ¶
func (process *Process) AddFlowElement(element delegate.FlowElement)
func (Process) GetFlowElement ¶
func (process Process) GetFlowElement(flowElementId string) delegate.FlowElement
type SequenceFlow ¶
type SequenceFlow struct {
FlowNode
//Id string `xml:"id,attr"`
SourceRef string `xml:"sourceRef,attr"`
TargetRef string `xml:"targetRef,attr"`
ConditionExpression string `xml:"conditionExpression"`
}
func (SequenceFlow) GetType ¶
func (sequenceFlow SequenceFlow) GetType() string
type StartEvent ¶
type StartEvent struct {
FlowNode
Initiator string `xml:"initiator,attr"`
FormKey string `xml:"formKey,attr"`
}
func (StartEvent) GetType ¶
func (start StartEvent) GetType() string
type SubProcess ¶
type SubProcess struct {
delegate.BaseElement
}
type TimerEventDefinition ¶
type TimerEventDefinition struct {
TimeDuration string `xml:"timeDuration"`
}
type UserTask ¶
type UserTask struct {
FlowNode
Assignee *string `xml:"assignee,attr"`
FormKey *string `xml:"formKey,attr"`
CandidateUsers *string `xml:"candidateUsers,attr"`
CandidateGroups *string `xml:"candidateGroups,attr"`
DueDate *string `xml:"dueDate,attr"`
MultiInstance *MultiInstanceLoopCharacteristics `xml:"multiInstanceLoopCharacteristics"`
ExtensionElements *ExtensionElement `xml:"extensionElements"`
}
func (UserTask) GetAssignee ¶
func (UserTask) GetCandidateGroups ¶
func (UserTask) GetCandidateUsers ¶
Source Files
¶
- activitiListener.go
- boundaryEvent.go
- bpmnModel.go
- conditionalEventDefinition.go
- defaultBaseElement.go
- endEvent.go
- equal.go
- exclusiveGateway.go
- extensionElement.go
- flowElementsContainer.go
- flowNode.go
- formButtonEventDefinition.go
- gateway.go
- inclusiveGateway.go
- intermediateCatchEvent.go
- linkEventDefinition.go
- message.go
- messageEventDefinition.go
- multiInstanceLoopCharacteristics.go
- parallelGateway.go
- process.go
- sequenceFlow.go
- startEvent.go
- subProcess.go
- timerEventDefinition.go
- userTask.go
Click to show internal directories.
Click to hide internal directories.