Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseElement ¶
type BaseElement struct { ElementType sepc_element_types.ElementType `json:"element_type"` Key string `json:"key"` CreateTime time.Time `json:"create_time"` }
element *BaseElement github.com/averyyan/bpmn-engine/bpmn/engine/types.BaseElement
func New ¶
func New(baseElement sepc_types.BaseElement) BaseElement
func (*BaseElement) GetElementType ¶
func (element *BaseElement) GetElementType() sepc_element_types.ElementType
获取元素类型
type CallActivity ¶
type CallActivity struct { BaseElement `json:",inline"` Element *activity.TCallActivity `json:"element"` ChildProcessInstanceKey string `json:"child_process_instance_key"` }
element *CallActivity github.com/averyyan/bpmn-engine/bpmn/engine/types.CallActivity
func NewCallActivity ¶
func NewCallActivity(element *activity.TCallActivity) *CallActivity
func (*CallActivity) GetElement ¶
func (element *CallActivity) GetElement() sepc_types.BaseElement
获取元素
func (*CallActivity) SetChildPIKey ¶
func (element *CallActivity) SetChildPIKey(ctx context.Context, piKey string) error
设置子流程
type MessageICE ¶
type MessageICE struct { BaseElement `json:",inline"` Element *event.TIntermediateCatchEvent `json:"element"` }
func NewMessageICE ¶
func NewMessageICE(element *event.TIntermediateCatchEvent) *MessageICE
Click to show internal directories.
Click to hide internal directories.