Documentation ¶
Index ¶
- type AbstractOperation
- type ContinueProcessOperation
- type DefaultCinderellaEngineAgenda
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) GetContext() engine.Context
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) GetNextOperation() runnable.Operation
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) IsEmpty() bool
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanContinueProcessOperation(execution delegate.DelegateExecution)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanEndExecutionOperation(execution delegate.DelegateExecution)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanEvaluateConditionalEventsOperation(execution delegate.DelegateExecution)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanOperation(operation runnable.Operation)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanTakeOutgoingSequenceFlowsOperation(execution delegate.DelegateExecution, valuateConditions bool)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanTriggerExecutionOperation(execution delegate.DelegateExecution)
- func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) SetContext(ctx engine.Context)
- type EndExecutionOperation
- type EvaluateConditionalEventsOperation
- type OperationOption
- type TakeOutgoingSequenceFlowsOperation
- type TriggerExecutionOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractOperation ¶
type AbstractOperation struct { Agenda agenda.CinderellaEngineAgenda Execution delegate.DelegateExecution // contains filtered or unexported fields }
func NewAbstractOperation ¶
func NewAbstractOperation(execution delegate.DelegateExecution, cinderellaEngineAgenda agenda.CinderellaEngineAgenda, options ...OperationOption) AbstractOperation
func (*AbstractOperation) GetAgenda ¶
func (abstractOperation *AbstractOperation) GetAgenda() agenda.CinderellaEngineAgenda
func (*AbstractOperation) GetContext ¶
func (abstractOperation *AbstractOperation) GetContext() engine.Context
func (*AbstractOperation) SetAgenda ¶
func (abstractOperation *AbstractOperation) SetAgenda(cinderellaEngineAgenda agenda.CinderellaEngineAgenda)
type ContinueProcessOperation ¶
type ContinueProcessOperation struct {
AbstractOperation
}
func (*ContinueProcessOperation) Run ¶
func (cont *ContinueProcessOperation) Run() (err error)
type DefaultCinderellaEngineAgenda ¶
type DefaultCinderellaEngineAgenda struct {
// contains filtered or unexported fields
}
func (*DefaultCinderellaEngineAgenda) GetContext ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) GetContext() engine.Context
func (*DefaultCinderellaEngineAgenda) GetNextOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) GetNextOperation() runnable.Operation
func (*DefaultCinderellaEngineAgenda) IsEmpty ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) IsEmpty() bool
判断是否为空
func (*DefaultCinderellaEngineAgenda) PlanContinueProcessOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanContinueProcessOperation(execution delegate.DelegateExecution)
连线继续执行
func (*DefaultCinderellaEngineAgenda) PlanEndExecutionOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanEndExecutionOperation(execution delegate.DelegateExecution)
任务结束
func (*DefaultCinderellaEngineAgenda) PlanEvaluateConditionalEventsOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanEvaluateConditionalEventsOperation(execution delegate.DelegateExecution)
func (*DefaultCinderellaEngineAgenda) PlanOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanOperation(operation runnable.Operation)
设置后续操作
func (*DefaultCinderellaEngineAgenda) PlanTakeOutgoingSequenceFlowsOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanTakeOutgoingSequenceFlowsOperation(execution delegate.DelegateExecution, valuateConditions bool)
连线出口设置
func (*DefaultCinderellaEngineAgenda) PlanTriggerExecutionOperation ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) PlanTriggerExecutionOperation(execution delegate.DelegateExecution)
任务出口执行
func (*DefaultCinderellaEngineAgenda) SetContext ¶
func (defaultCinderellaEngineAgenda *DefaultCinderellaEngineAgenda) SetContext(ctx engine.Context)
type EndExecutionOperation ¶
type EndExecutionOperation struct {
AbstractOperation
}
func (*EndExecutionOperation) Run ¶
func (end *EndExecutionOperation) Run() (err error)
type EvaluateConditionalEventsOperation ¶
type EvaluateConditionalEventsOperation struct {
AbstractOperation
}
func (*EvaluateConditionalEventsOperation) Run ¶
func (cont *EvaluateConditionalEventsOperation) Run() (err error)
type OperationOption ¶
type OperationOption func(*AbstractOperation)
func WithContext ¶
func WithContext(ctx engine.Context) OperationOption
type TakeOutgoingSequenceFlowsOperation ¶
type TakeOutgoingSequenceFlowsOperation struct { AbstractOperation EvaluateConditions bool }
func (TakeOutgoingSequenceFlowsOperation) Run ¶
func (take TakeOutgoingSequenceFlowsOperation) Run() (err error)
type TriggerExecutionOperation ¶
type TriggerExecutionOperation struct {
AbstractOperation
}
func (TriggerExecutionOperation) Run ¶
func (trigger TriggerExecutionOperation) Run() (err error)
Click to show internal directories.
Click to hide internal directories.