Documentation ¶
Index ¶
- type CinderellaEntityEvent
- type CinderellaEntityEventImpl
- type CinderellaEvent
- type CinderellaEventBuilder
- type CinderellaEventDispatcher
- type CinderellaEventImpl
- func (activitiEvent CinderellaEventImpl) GetProcessDefinitionId() string
- func (activitiEvent CinderellaEventImpl) GetProcessInstanceId() string
- func (activitiEvent CinderellaEventImpl) GetType() CinderellaEventType
- func (activitiEvent CinderellaEventImpl) SetProcessDefinitionId(processDefinitionId string)
- func (activitiEvent CinderellaEventImpl) SetProcessInstanceId(processInstanceId string)
- func (activitiEvent CinderellaEventImpl) SetType(eventType CinderellaEventType)
- type CinderellaEventListener
- type CinderellaEventType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CinderellaEntityEvent ¶
type CinderellaEntityEvent interface { CinderellaEvent GetEntity() interface{} }
func CreateEntityEvent ¶
func CreateEntityEvent(eventType CinderellaEventType, entity interface{}) CinderellaEntityEvent
type CinderellaEntityEventImpl ¶
type CinderellaEntityEventImpl struct { CinderellaEntityEvent CinderellaEventImpl Entity interface{} }
func (CinderellaEntityEventImpl) GetType ¶
func (CinderellaEntityEventImpl) GetType() CinderellaEventType
type CinderellaEvent ¶
type CinderellaEvent interface {
GetType() CinderellaEventType
}
type CinderellaEventBuilder ¶
type CinderellaEventBuilder struct { }
type CinderellaEventDispatcher ¶
type CinderellaEventDispatcher struct {
EventListeners []CinderellaEventListener
}
func GetEventDispatcher ¶
func GetEventDispatcher() *CinderellaEventDispatcher
func (*CinderellaEventDispatcher) AddEventListener ¶
func (eventDispatcher *CinderellaEventDispatcher) AddEventListener(listenerToAdd CinderellaEventListener) (err error)
func (*CinderellaEventDispatcher) DispatchEvent ¶
func (eventDispatcher *CinderellaEventDispatcher) DispatchEvent(event CinderellaEvent) (err error)
type CinderellaEventImpl ¶
type CinderellaEventImpl struct { EventType CinderellaEventType ExecutionId string ProcessInstanceId string ProcessDefinitionId string }
func (CinderellaEventImpl) GetProcessDefinitionId ¶
func (activitiEvent CinderellaEventImpl) GetProcessDefinitionId() string
func (CinderellaEventImpl) GetProcessInstanceId ¶
func (activitiEvent CinderellaEventImpl) GetProcessInstanceId() string
func (CinderellaEventImpl) GetType ¶
func (activitiEvent CinderellaEventImpl) GetType() CinderellaEventType
func (CinderellaEventImpl) SetProcessDefinitionId ¶
func (activitiEvent CinderellaEventImpl) SetProcessDefinitionId(processDefinitionId string)
func (CinderellaEventImpl) SetProcessInstanceId ¶
func (activitiEvent CinderellaEventImpl) SetProcessInstanceId(processInstanceId string)
func (CinderellaEventImpl) SetType ¶
func (activitiEvent CinderellaEventImpl) SetType(eventType CinderellaEventType)
type CinderellaEventListener ¶
type CinderellaEventListener interface {
OnEvent(event CinderellaEvent) error
}
type CinderellaEventType ¶
type CinderellaEventType string
const ( TASK_CREATED CinderellaEventType = "TASK_CREATED" TASK_ASSIGNED CinderellaEventType = "TASK_ASSIGNED" TASK_COMPLETED CinderellaEventType = "TASK_COMPLETED" )
Click to show internal directories.
Click to hide internal directories.