behavior

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExclusiveGatewayActivityBehavior

type ExclusiveGatewayActivityBehavior struct {
}

func (ExclusiveGatewayActivityBehavior) Execute

func (exclusive ExclusiveGatewayActivityBehavior) Execute(execution delegate.DelegateExecution) (err error)

排他网关

func (ExclusiveGatewayActivityBehavior) Leave

func (exclusive ExclusiveGatewayActivityBehavior) Leave(execution delegate.DelegateExecution) (err error)

type InclusiveGatewayActivityBehavior

type InclusiveGatewayActivityBehavior struct {
}

func (InclusiveGatewayActivityBehavior) Execute

包容网关

func (InclusiveGatewayActivityBehavior) Leave

执行逻辑:获取当前所有执行的节点,判断是否可达当前网关可以停止执行,等待完成

type IntermediateCatchConditionalEventActivityBehavior

type IntermediateCatchConditionalEventActivityBehavior struct {
	IntermediateCatchEventActivityBehavior
	// contains filtered or unexported fields
}

func NewIntermediateCatchConditionalEventActivityBehavior

func NewIntermediateCatchConditionalEventActivityBehavior(conditionalEventDefinition model.ConditionalEventDefinition) IntermediateCatchConditionalEventActivityBehavior

func (*IntermediateCatchConditionalEventActivityBehavior) ConditionalEventDefinition

func (IntermediateCatchConditionalEventActivityBehavior) Execute

func (IntermediateCatchConditionalEventActivityBehavior) MultiInstanceActivityBehavior

func (f IntermediateCatchConditionalEventActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior

func (*IntermediateCatchConditionalEventActivityBehavior) SetConditionalEventDefinition

func (behavior *IntermediateCatchConditionalEventActivityBehavior) SetConditionalEventDefinition(conditionalEventDefinition model.ConditionalEventDefinition)

func (*IntermediateCatchConditionalEventActivityBehavior) SetMultiInstanceActivityBehavior

func (f *IntermediateCatchConditionalEventActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)

func (IntermediateCatchConditionalEventActivityBehavior) Trigger

type IntermediateCatchEventActivityBehavior

type IntermediateCatchEventActivityBehavior struct {
	// contains filtered or unexported fields
}

func (IntermediateCatchEventActivityBehavior) Execute

func (IntermediateCatchEventActivityBehavior) MultiInstanceActivityBehavior

func (f IntermediateCatchEventActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior

func (*IntermediateCatchEventActivityBehavior) SetMultiInstanceActivityBehavior

func (f *IntermediateCatchEventActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)

func (IntermediateCatchEventActivityBehavior) Trigger

type MultiInstanceActivityBehavior

type MultiInstanceActivityBehavior struct {
	// contains filtered or unexported fields
}

MultiInstanceActivityBehavior TODO

func (MultiInstanceActivityBehavior) Execute

func (f MultiInstanceActivityBehavior) Execute(execution delegate.DelegateExecution) error

func (MultiInstanceActivityBehavior) Trigger

func (f MultiInstanceActivityBehavior) Trigger(execution delegate.DelegateExecution) error

type ParallelGatewayActivityBehavior

type ParallelGatewayActivityBehavior struct {
}

func (ParallelGatewayActivityBehavior) Execute

包容网关

func (ParallelGatewayActivityBehavior) Leave

执行逻辑:获取当前所有执行的节点,判断是否可达当前网关可以停止执行,等待完成

type UserAutoTaskActivityBehavior

type UserAutoTaskActivityBehavior struct {
	UserTask   model.UserTask
	ProcessKey string
}

func (UserAutoTaskActivityBehavior) Execute

func (user UserAutoTaskActivityBehavior) Execute(execution delegate.DelegateExecution) (err error)

自动通过用户节点处理

func (UserAutoTaskActivityBehavior) Leave

func (UserAutoTaskActivityBehavior) Trigger

普通用户节点处理

type UserTaskActivityBehavior

type UserTaskActivityBehavior struct {
	UserTask   model.UserTask
	ProcessKey string
	// contains filtered or unexported fields
}

func (UserTaskActivityBehavior) Execute

func (user UserTaskActivityBehavior) Execute(execution delegate.DelegateExecution) error

普通用户节点处理

func (UserTaskActivityBehavior) MultiInstanceActivityBehavior

func (f UserTaskActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior

func (*UserTaskActivityBehavior) SetMultiInstanceActivityBehavior

func (f *UserTaskActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)

func (UserTaskActivityBehavior) Trigger

func (user UserTaskActivityBehavior) Trigger(execution delegate.DelegateExecution) error

Trigger 普通用户节点处理

Jump to

Keyboard shortcuts

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