event

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TEndEvent

type TEndEvent struct {
	ID                  string                   `xml:"id,attr" json:"id"`                                       // 元素ID
	Name                string                   `xml:"name,attr" json:"name"`                                   // 元素名称
	Documentation       string                   `xml:"documentation,attr" json:"documentation"`                 // 元素说明
	IncomingAssociation []string                 `xml:"incoming" json:"incoming"`                                // 元素入Flow元素IDs
	OutgoingAssociation []string                 `xml:"outgoing" json:"outgoing"`                                // 元素出Flow元素IDs
	Properties          []*extensions.TPropertie `xml:"extensionElements>properties>property" json:"properties"` // 外部数据
}

endEvent *TEndEvent github.com/averyyan/bpmn-engine/bpmn/sepc/types.BaseElement

func (*TEndEvent) GetDocumentation

func (endEvent *TEndEvent) GetDocumentation() string

func (*TEndEvent) GetID

func (endEvent *TEndEvent) GetID() string

func (*TEndEvent) GetIncomingAssociation

func (endEvent *TEndEvent) GetIncomingAssociation() []string

func (*TEndEvent) GetName

func (endEvent *TEndEvent) GetName() string

func (*TEndEvent) GetOutgoingAssociation

func (endEvent *TEndEvent) GetOutgoingAssociation() []string

func (*TEndEvent) GetProperties

func (endEvent *TEndEvent) GetProperties() []sepc_types.Propertie

func (*TEndEvent) GetType

func (endEvent *TEndEvent) GetType() sepc_element_types.ElementType

type TIntermediateCatchEvent

type TIntermediateCatchEvent struct {
	ID                     string                   `xml:"id,attr" json:"id"`                                       // 元素ID
	Name                   string                   `xml:"name,attr" json:"name"`                                   // 元素名称
	Documentation          string                   `xml:"documentation,attr" json:"documentation"`                 // 元素说明
	IncomingAssociation    []string                 `xml:"incoming" json:"incoming"`                                // 元素入Flow元素IDs
	OutgoingAssociation    []string                 `xml:"outgoing" json:"outgoing"`                                // 元素出Flow元素IDs
	Properties             []*extensions.TPropertie `xml:"extensionElements>properties>property" json:"properties"` // 外部数据
	MessageEventDefinition *TMessageEventDefinition `xml:"messageEventDefinition" json:"message_event_definition"`  // 基于消息中间件内容
	TimerEventDefinition   *TTimerEventDefinition   `xml:"timerEventDefinition" json:"timer_event_Definition"`      // 基于时间中间件内容
}

ice *TIntermediateCatchEvent github.com/averyyan/bpmn-engine/bpmn/sepc/types.BaseElement ice *TIntermediateCatchEvent github.com/averyyan/bpmn-engine/bpmn/sepc/types.IntermediateCatchEvent

func (*TIntermediateCatchEvent) GetDocumentation

func (ice *TIntermediateCatchEvent) GetDocumentation() string

func (*TIntermediateCatchEvent) GetID

func (ice *TIntermediateCatchEvent) GetID() string

func (*TIntermediateCatchEvent) GetIncomingAssociation

func (ice *TIntermediateCatchEvent) GetIncomingAssociation() []string

func (*TIntermediateCatchEvent) GetMessageEventDefinition

func (ice *TIntermediateCatchEvent) GetMessageEventDefinition() sepc_types.MessageEventDefinition

func (*TIntermediateCatchEvent) GetName

func (ice *TIntermediateCatchEvent) GetName() string

func (*TIntermediateCatchEvent) GetOutgoingAssociation

func (ice *TIntermediateCatchEvent) GetOutgoingAssociation() []string

func (*TIntermediateCatchEvent) GetProperties

func (ice *TIntermediateCatchEvent) GetProperties() []sepc_types.Propertie

func (*TIntermediateCatchEvent) GetTimerEventDefinition

func (ice *TIntermediateCatchEvent) GetTimerEventDefinition() sepc_types.TimerEventDefinition

func (*TIntermediateCatchEvent) GetType

func (*TIntermediateCatchEvent) HasMessageEventDefinition

func (ice *TIntermediateCatchEvent) HasMessageEventDefinition() bool

是否存在消息信息

func (*TIntermediateCatchEvent) HasTimerEventDefinition

func (ice *TIntermediateCatchEvent) HasTimerEventDefinition() bool

是否存在时间

type TMessageEventDefinition

type TMessageEventDefinition struct {
	ID         string `xml:"id,attr" json:"id"`                  // 消息中间件ID
	MessageRef string `xml:"messageRef,attr" json:"message_ref"` // 消息中间件匹配消息订阅ID
}

med *TMessageEventDefinition github.com/averyyan/bpmn-engine/bpmn/sepc/types.MessageEventDefinition

func (*TMessageEventDefinition) GetID

func (med *TMessageEventDefinition) GetID() string

func (*TMessageEventDefinition) GetMessageRef

func (med *TMessageEventDefinition) GetMessageRef() string

type TStartEvent

type TStartEvent struct {
	ID                  string                   `xml:"id,attr" json:"id"`                                       // 元素ID
	Name                string                   `xml:"name,attr" json:"name"`                                   // 元素名称
	Documentation       string                   `xml:"documentation,attr" json:"documentation"`                 // 元素说明
	IncomingAssociation []string                 `xml:"incoming" json:"incoming"`                                // 元素入Flow元素IDs
	OutgoingAssociation []string                 `xml:"outgoing" json:"outgoing"`                                // 元素出Flow元素IDs
	Properties          []*extensions.TPropertie `xml:"extensionElements>properties>property" json:"properties"` // 外部数据
}

startEvent *TStartEvent github.com/averyyan/bpmn-engine/bpmn/sepc/types.BaseElement

func (*TStartEvent) GetDocumentation

func (startEvent *TStartEvent) GetDocumentation() string

func (*TStartEvent) GetID

func (startEvent *TStartEvent) GetID() string

func (*TStartEvent) GetIncomingAssociation

func (startEvent *TStartEvent) GetIncomingAssociation() []string

func (*TStartEvent) GetName

func (startEvent *TStartEvent) GetName() string

func (*TStartEvent) GetOutgoingAssociation

func (startEvent *TStartEvent) GetOutgoingAssociation() []string

func (*TStartEvent) GetProperties

func (startEvent *TStartEvent) GetProperties() []sepc_types.Propertie

func (*TStartEvent) GetType

func (startEvent *TStartEvent) GetType() sepc_element_types.ElementType

type TTimeDate

type TTimeDate struct {
	XMLText string `xml:",innerxml" json:"text"`
}

func (*TTimeDate) GetText

func (td *TTimeDate) GetText() string

type TTimeDuration

type TTimeDuration struct {
	XMLText string `xml:",innerxml" json:"text"`
}

func (*TTimeDuration) GetText

func (td *TTimeDuration) GetText() string

type TTimerEventDefinition

type TTimerEventDefinition struct {
	ID           string         `xml:"id,attr" json:"id"`                 // 时间中间件ID
	TimeDuration *TTimeDuration `xml:"timeDuration" json:"time_duration"` // 时间中间件延迟时间 ISO 8601 格式 PT15S
	TimeDate     *TTimeDate     `xml:"timeDate" json:"time_date"`         // 时间中间件执行 ISO 8601 格式 2023-10-10T00:00:00Z
}

ted *TTimerEventDefinition github.com/averyyan/bpmn-engine/bpmn/sepc/types.TimerEventDefinition

func (*TTimerEventDefinition) GetID

func (ted *TTimerEventDefinition) GetID() string

func (*TTimerEventDefinition) GetTimeDate

func (*TTimerEventDefinition) GetTimeDuration

func (ted *TTimerEventDefinition) GetTimeDuration() sepc_types.BaseElementText

Jump to

Keyboard shortcuts

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