Documentation ¶
Index ¶
- type ElementExecutor
- func (e *ElementExecutor) Commit(ctx *liflow.FlowCtx) error
- func (e *ElementExecutor) Execute(ctx *liflow.FlowCtx) error
- func (e *ElementExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
- func (e *ElementExecutor) GetRollbackExecutor(ctx *liflow.FlowCtx) (liflow.Executor, error)
- func (e *ElementExecutor) IsCompleted(ctx *liflow.FlowCtx) bool
- func (e *ElementExecutor) Rollback(ctx *liflow.FlowCtx) error
- func (e *ElementExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
- type EndEventExecutor
- func (e *EndEventExecutor) Execute(ctx *liflow.FlowCtx) error
- func (e *EndEventExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
- func (e *EndEventExecutor) Rollback(ctx *liflow.FlowCtx) error
- func (e *EndEventExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
- type ExclusiveGatewayExecutor
- type SequenceFlowExecutor
- type StartEventExecutor
- type UserTaskExecutor
- func (e *UserTaskExecutor) Commit(ctx *liflow.FlowCtx) error
- func (e *UserTaskExecutor) Execute(ctx *liflow.FlowCtx) error
- func (e *UserTaskExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
- func (e *UserTaskExecutor) Rollback(ctx *liflow.FlowCtx) error
- func (e *UserTaskExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElementExecutor ¶
type ElementExecutor struct{}
func (*ElementExecutor) GetExecuteExecutor ¶
func (e *ElementExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
func (*ElementExecutor) GetRollbackExecutor ¶
func (*ElementExecutor) IsCompleted ¶
func (e *ElementExecutor) IsCompleted(ctx *liflow.FlowCtx) bool
func (*ElementExecutor) Validate ¶
func (e *ElementExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
type EndEventExecutor ¶
type EndEventExecutor struct {
ElementExecutor
}
func (*EndEventExecutor) GetExecuteExecutor ¶
func (e *EndEventExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
func (*EndEventExecutor) Validate ¶
func (e *EndEventExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
type ExclusiveGatewayExecutor ¶
type ExclusiveGatewayExecutor struct {
ElementExecutor
}
func (*ExclusiveGatewayExecutor) Execute ¶
func (e *ExclusiveGatewayExecutor) Execute(ctx *liflow.FlowCtx) error
func (*ExclusiveGatewayExecutor) GetExecuteExecutor ¶
func (e *ExclusiveGatewayExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
type SequenceFlowExecutor ¶
type SequenceFlowExecutor struct {
ElementExecutor
}
type StartEventExecutor ¶
type StartEventExecutor struct {
ElementExecutor
}
func (*StartEventExecutor) Execute ¶
func (e *StartEventExecutor) Execute(ctx *liflow.FlowCtx) error
func (*StartEventExecutor) Rollback ¶
func (e *StartEventExecutor) Rollback(ctx *liflow.FlowCtx) error
func (*StartEventExecutor) Validate ¶
func (e *StartEventExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
type UserTaskExecutor ¶
type UserTaskExecutor struct {
ElementExecutor
}
func (*UserTaskExecutor) GetExecuteExecutor ¶
func (e *UserTaskExecutor) GetExecuteExecutor(ctx *liflow.FlowCtx) liflow.Executor
func (*UserTaskExecutor) Validate ¶
func (e *UserTaskExecutor) Validate(eleMap map[string]*schema.FlowElement, ele *schema.FlowElement) error
Click to show internal directories.
Click to hide internal directories.