delegate

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityBehavior

type ActivityBehavior interface {
	Execute(execution DelegateExecution) error
}

type BaseElement

type BaseElement interface {
	GetId() string
	GetName() string
	GetHandlerType() string
}

通用字段

type BaseHandlerType

type BaseHandlerType interface {
	GetType() string
}

type DelegateExecution

type DelegateExecution interface {
	GetId() string
	SetId(id string)

	SetBusinessKey(businessKey string)

	GetCurrentFlowElement() FlowElement

	SetCurrentFlowElement(flow FlowElement)

	GetDeploymentId() string

	SetDeploymentId(deploymentId string)

	GetProcessInstanceId() string

	SetProcessInstanceId(processInstanceId string)

	GetProcessDefinitionId() string

	SetProcessDefinitionId(processDefineId string)

	GetCurrentActivityId() string

	SetCurrentActivityId(currentActivityId string)

	GetSpecificVariable(variableName string) (variable.Variable, error)

	GetVariable() map[string]interface{}

	GetProcessVariable() map[string]interface{}

	GetExecutionId() string

	GetTenantId() *string
}

type FlowElement

type FlowElement interface {
	BaseElement
	SetOutgoing(f []FlowElement)
	SetIncoming(f []FlowElement)
	GetIncoming() []FlowElement
	GetOutgoing() []FlowElement
	GetBehavior() ActivityBehavior
	SetBehavior(behavior ActivityBehavior)

	SetSourceFlowElement(f FlowElement)
	SetTargetFlowElement(f FlowElement)
	GetSourceFlowElement() FlowElement
	GetTargetFlowElement() FlowElement
}

接口

type TriggerableActivityBehavior

type TriggerableActivityBehavior interface {
	Trigger(execution DelegateExecution) error
}

Jump to

Keyboard shortcuts

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