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 BaseHandlerType ¶
type BaseHandlerType interface {
GetType() string
}
type Cloneable ¶ added in v0.0.5
type Cloneable interface {
Clone() FlowElement
}
type DelegateExecution ¶
type DelegateExecution interface {
VariableScope
// Deprecated:
GetId() string
// Deprecated:
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)
GetExecutionId() string
GetParent() (DelegateExecution, error)
GetParentId() string
GetTenantId() *string
// IsMultiInstanceRoot returns whether this execution is the root of a multi instance execution.
IsMultiInstanceRoot() bool
// SetMultiInstanceRoot changes whether this execution is a multi instance root or not.
SetMultiInstanceRoot(isMultiInstanceRoot bool)
}
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 {
ActivityBehavior
Trigger(execution DelegateExecution) error
}
type VariableScope ¶ added in v0.0.5
type VariableScope interface {
GetVariables() (map[string]interface{}, error)
GetVariablesLocal() (map[string]interface{}, error)
GetVariableLocal(variableName string) (value interface{}, ok bool, err error)
SetVariableLocal(variableName string, value interface{}) error
SetProcessVariables(variables map[string]interface{}) error
RemoveVariablesLocal(variableNames []string) error
}
Click to show internal directories.
Click to hide internal directories.