memory_element

package
v0.0.0-...-c54ede3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 7 Imported by: 0

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

获取元素类型

func (*BaseElement) GetKey

func (element *BaseElement) GetKey() string

元素唯一Key

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) GetChildPIKey

func (element *CallActivity) GetChildPIKey() string

获取子流程

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

func (*MessageICE) GetElement

func (element *MessageICE) GetElement() sepc_types.BaseElement

获取元素

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL