Documentation ¶
Index ¶
- type ExclusiveGatewayActivityBehavior
- type InclusiveGatewayActivityBehavior
- type IntermediateCatchConditionalEventActivityBehavior
- func (behavior *IntermediateCatchConditionalEventActivityBehavior) ConditionalEventDefinition() model.ConditionalEventDefinition
- func (behavior IntermediateCatchConditionalEventActivityBehavior) Execute(execution delegate.DelegateExecution) error
- func (f IntermediateCatchConditionalEventActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior
- func (behavior *IntermediateCatchConditionalEventActivityBehavior) SetConditionalEventDefinition(conditionalEventDefinition model.ConditionalEventDefinition)
- func (f *IntermediateCatchConditionalEventActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)
- func (behavior IntermediateCatchConditionalEventActivityBehavior) Trigger(execution delegate.DelegateExecution) error
- type IntermediateCatchEventActivityBehavior
- func (f IntermediateCatchEventActivityBehavior) Execute(execution delegate.DelegateExecution) error
- func (f IntermediateCatchEventActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior
- func (f *IntermediateCatchEventActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)
- func (f IntermediateCatchEventActivityBehavior) Trigger(execution delegate.DelegateExecution) error
- type MultiInstanceActivityBehavior
- type ParallelGatewayActivityBehavior
- type UserAutoTaskActivityBehavior
- type UserTaskActivityBehavior
- func (user UserTaskActivityBehavior) Execute(execution delegate.DelegateExecution) error
- func (f UserTaskActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior
- func (f *UserTaskActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)
- func (user UserTaskActivityBehavior) Trigger(execution delegate.DelegateExecution) error
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 (exclusive InclusiveGatewayActivityBehavior) Execute(execution delegate.DelegateExecution) error
包容网关
func (InclusiveGatewayActivityBehavior) Leave ¶
func (exclusive InclusiveGatewayActivityBehavior) Leave(execution delegate.DelegateExecution) error
执行逻辑:获取当前所有执行的节点,判断是否可达当前网关可以停止执行,等待完成
type IntermediateCatchConditionalEventActivityBehavior ¶
type IntermediateCatchConditionalEventActivityBehavior struct { IntermediateCatchEventActivityBehavior // contains filtered or unexported fields }
func NewIntermediateCatchConditionalEventActivityBehavior ¶
func NewIntermediateCatchConditionalEventActivityBehavior(conditionalEventDefinition model.ConditionalEventDefinition) IntermediateCatchConditionalEventActivityBehavior
func (*IntermediateCatchConditionalEventActivityBehavior) ConditionalEventDefinition ¶
func (behavior *IntermediateCatchConditionalEventActivityBehavior) ConditionalEventDefinition() model.ConditionalEventDefinition
func (IntermediateCatchConditionalEventActivityBehavior) Execute ¶
func (behavior IntermediateCatchConditionalEventActivityBehavior) Execute(execution delegate.DelegateExecution) error
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 ¶
func (behavior IntermediateCatchConditionalEventActivityBehavior) Trigger(execution delegate.DelegateExecution) error
type IntermediateCatchEventActivityBehavior ¶
type IntermediateCatchEventActivityBehavior struct {
// contains filtered or unexported fields
}
func (IntermediateCatchEventActivityBehavior) Execute ¶
func (f IntermediateCatchEventActivityBehavior) Execute(execution delegate.DelegateExecution) error
func (IntermediateCatchEventActivityBehavior) MultiInstanceActivityBehavior ¶
func (f IntermediateCatchEventActivityBehavior) MultiInstanceActivityBehavior() *MultiInstanceActivityBehavior
func (*IntermediateCatchEventActivityBehavior) SetMultiInstanceActivityBehavior ¶
func (f *IntermediateCatchEventActivityBehavior) SetMultiInstanceActivityBehavior(multiInstanceActivityBehavior *MultiInstanceActivityBehavior)
func (IntermediateCatchEventActivityBehavior) Trigger ¶
func (f IntermediateCatchEventActivityBehavior) Trigger(execution delegate.DelegateExecution) error
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 (parallel ParallelGatewayActivityBehavior) Execute(execution delegate.DelegateExecution) error
包容网关
func (ParallelGatewayActivityBehavior) Leave ¶
func (parallel ParallelGatewayActivityBehavior) Leave(execution delegate.DelegateExecution) error
执行逻辑:获取当前所有执行的节点,判断是否可达当前网关可以停止执行,等待完成
type UserAutoTaskActivityBehavior ¶
func (UserAutoTaskActivityBehavior) Execute ¶
func (user UserAutoTaskActivityBehavior) Execute(execution delegate.DelegateExecution) (err error)
自动通过用户节点处理
func (UserAutoTaskActivityBehavior) Leave ¶
func (user UserAutoTaskActivityBehavior) Leave(execution delegate.DelegateExecution)
func (UserAutoTaskActivityBehavior) Trigger ¶
func (user UserAutoTaskActivityBehavior) Trigger(execution delegate.DelegateExecution) error
普通用户节点处理
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 普通用户节点处理
Source Files ¶
- abstractBpmnActivityBehavior.go
- bpmnActivityBehavior.go
- exclusiveGatewayActivityBehavior.go
- flowNodeActivityBehavior.go
- inclusiveGatewayActivityBehavior.go
- intermediateCatchConditionalEventActivityBehavior.go
- intermediateCatchEventActivityBehavior.go
- multiInstanceActivityBehavior.go
- parallelGatewayActivityBehavior.go
- userAutoTaskActivityBehavior.go
- userTaskActivityBehavior.go
Click to show internal directories.
Click to hide internal directories.