Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalEventDefinition ¶
type ConditionalEventDefinition struct { DefaultBaseElement XMLName xml.Name `xml:"bpmn:conditionalEventDefinition"` Condition string `xml:"bpmn:condition"` }
type DefaultBaseElement ¶
type Definitions ¶
type Definitions struct { XMLName xml.Name `xml:"bpmn:definitions"` Text string `xml:",chardata"` Xsi string `xml:"xmlns:xsi,attr"` Bpmn string `xml:"xmlns:bpmn,attr"` Bpmndi string `xml:"xmlns:bpmndi,attr"` Dc string `xml:"xmlns:dc,attr"` Di string `xml:"xmlns:di,attr"` Flowable string `xml:"xmlns:flowable,attr"` ID string `xml:"id,attr"` TargetNamespace string `xml:"targetNamespace,attr"` Process []Process `xml:"process"` }
func NewDefinitions ¶
func NewDefinitions(processId string) Definitions
type FlowNode ¶
type FlowNode struct { DefaultBaseElement Incoming []string `xml:"bpmn:incoming"` Outgoing []string `xml:"bpmn:outgoing"` }
FlowNode 父类实现体
type IntermediateCatchEvent ¶
type IntermediateCatchEvent struct { FlowNode XMLName xml.Name `xml:"bpmn:intermediateCatchEvent"` ConditionalEventDefinition *ConditionalEventDefinition `xml:"bpmn:conditionalEventDefinition"` FormButtonEventDefinition *FormButtonEventDefinition `xml:"bpmn:extensionElements>flowable:formButtonEventDefinition"` }
IntermediateCatchEvent 中间抛出事件
type Process ¶
type Process struct { FlowNode XMLName xml.Name `xml:"bpmn:process"` IsExecutable string `xml:"isExecutable,attr"` StartEvents []StartEvent `xml:"startEvent"` EndEvents []EndEvent `xml:"endEvent"` UserTasks []UserTask `xml:"userTask"` SequenceFlows []SequenceFlow `xml:"sequenceFlow"` IntermediateCatchEvents []IntermediateCatchEvent `xml:"intermediateCatchEvent"` }
type SequenceFlow ¶
type SequenceFlow struct { FlowNode XMLName xml.Name `xml:"bpmn:sequenceFlow"` SourceRef string `xml:"sourceRef,attr"` TargetRef string `xml:"targetRef,attr"` ConditionExpression string `xml:"bpmn:conditionExpression,omitempty"` }
func NewSequenceFlow ¶
func NewSequenceFlow(sourceRef, targetRef string) SequenceFlow
type StartEvent ¶
type UserTask ¶
type UserTask struct { FlowNode XMLName xml.Name `xml:"bpmn:userTask"` Assignee *string `xml:"flowable:assignee,attr"` FormKey *string `xml:"flowable:formKey,attr"` CandidateUsers *string `xml:"flowable:candidateUsers,attr"` CandidateGroups *string `xml:"flowable:candidateGroups,attr"` DueDate *string `xml:"flowable:dueDate,attr"` ExtensionElements *UserTaskExtensionElement `xml:"bpmn:extensionElements"` }
type UserTaskExtensionElement ¶
type UserTaskExtensionElement struct { AssigneeType string `xml:"flowable:assigneeType"` StaticAssigneeVariables string `xml:"flowable:staticAssigneeVariables,omitempty"` IdmCandidateGroups string `xml:"flowable:idmCandidateGroups,omitempty"` IdmCandidateUsers string `xml:"flowable:idmCandidateUsers,omitempty"` }
Click to show internal directories.
Click to hide internal directories.