sepc_types

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentDefinition

type AssignmentDefinition interface {
}

分配信息

type BaseElement

type BaseElement interface {
	GetID() string                           // 获取元素ID
	GetName() string                         // 获取元素名称
	GetType() sepc_element_types.ElementType // 获取元素类型
	GetDocumentation() string                // 获取元素说明
	GetIncomingAssociation() []string        // 获取元素入Flow元素IDs
	GetOutgoingAssociation() []string        // 获取元素出Flow元素IDs
	GetProperties() []Propertie              // 获取外部数据
}

基础元素接口

type BaseElementText

type BaseElementText interface {
	GetText() string
}

元素获取XML内容接口

type CallActivity

type CallActivity interface {
	HasCalledElement() bool
	GetCalledElement() CalledElement
}

重复流程元素

type CalledElement

type CalledElement interface {
	GetProcessID() string
	GetPropagateAllChildVariables() bool
}

执行流程信息

type ExclusiveGateway

type ExclusiveGateway interface {
	// 获取默认序列流
	GetDefault() string
}

任务元素接口

type FormDefinition

type FormDefinition interface {
	GetFormKey() string
}

表单信息

type IntermediateCatchEvent

type IntermediateCatchEvent interface {
	// 是否存在消息信息
	HasMessageEventDefinition() bool
	// 获取基于消息的中间事件详情
	GetMessageEventDefinition() MessageEventDefinition
	// 是否存在时间
	HasTimerEventDefinition() bool
	// 获取基于定时器的中间事件详情
	GetTimerEventDefinition() TimerEventDefinition
}

中间事件

type Message

type Message interface {
	GetID() string
	GetName() string
}

type MessageEventDefinition

type MessageEventDefinition interface {
	GetID() string         // 获取消息中间事件ID
	GetMessageRef() string // 获取消息ID
}

基于消息的中间事件

type Propertie

type Propertie interface {
	GetName() string
	GetValue() string
}

type SequenceFlow

type SequenceFlow interface {
	// 是否存在表达式
	HasConditionExpression() bool
	// 获取表达式
	GetConditionExpression() string
}

type ServiceTask

type ServiceTask interface {
	// 获取任务定义
	HasTaskDefinition() bool
	// 获取任务类型
	GetTaskDefinition() TaskDefinition
}

自动任务元素接口

type TaskDefinition

type TaskDefinition interface {
	// 任务类型
	GetTypeName() string
	// 任务重复次数
	GetRetries() string
}

任务定义

type TimerEventDefinition

type TimerEventDefinition interface {
	GetID() string                    // 获取定时器中间事件ID
	GetTimeDuration() BaseElementText // 定时器延时时间
	GetTimeDate() BaseElementText     // 定时器执行时间
}

基于定时器的中间事件 (两种类型)

type UserTask

type UserTask interface {
	// 是否存在表单信息
	HasFormDefinition() bool
	// 获取表单信息
	GetFormDefinition() FormDefinition
	// 是否存在分配信息
	HasAssignmentDefinition() bool
	// 获取分配信息
	GetAssignmentDefinition() AssignmentDefinition
}

任务元素接口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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