Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
Execute(commandContext Context) (interface{}, error)
Context() context.Context
IsTransactional() bool
}
Command can be directly executed but cannot be executed by ComandExecutor in another command, otherwise CommandContext of parent command may be deleted mistakenly by interceptors.
type Context ¶
type Context interface {
SetAgenda(agenda agenda.CinderellaEngineAgenda)
SetProcessEngineConfiguration(processEngineConfiguration ProcessEngineConfiguration)
GetAgenda() agenda.CinderellaEngineAgenda
GetProcessEngineConfiguration() ProcessEngineConfiguration
}
type ICommandContextFactory ¶
type ICommandContextFactory interface {
CreateCommandContext() Context
}
type Interceptor ¶
type Interceptor interface {
Execute(command Command) (interface{}, error)
SetNext(next Interceptor)
}
type ProcessEngineConfiguration ¶
type ProcessEngineConfiguration interface {
GetCommandExecutor() Executor
GetIDGenerator() idgenerator.IDGenerator
GetDeploymentSettings() map[string]interface{}
GetBpmnDeployer() Deployer
GetHttpClient() *resty.Client
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.