Documentation
¶
Index ¶
- type ContextStub
- func (w ContextStub) Complete(tc *worker.TaskComplete) error
- func (w ContextStub) ExtendLock(id string, duration int) error
- func (w ContextStub) HandleBPMNError(code int, message string) error
- func (w ContextStub) HandleFailure(query worker.TaskFailureRequest) error
- func (w ContextStub) StartLockExtender()
- func (w ContextStub) StopExtender()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextStub ¶
type ContextStub struct {
*worker.ContextImpl
}
func CreateTestContext ¶
func CreateTestContext() *ContextStub
func (ContextStub) Complete ¶
func (w ContextStub) Complete(tc *worker.TaskComplete) error
func (ContextStub) ExtendLock ¶
func (w ContextStub) ExtendLock(id string, duration int) error
func (ContextStub) HandleBPMNError ¶
func (w ContextStub) HandleBPMNError(code int, message string) error
func (ContextStub) HandleFailure ¶
func (w ContextStub) HandleFailure(query worker.TaskFailureRequest) error
func (ContextStub) StartLockExtender ¶
func (w ContextStub) StartLockExtender()
func (ContextStub) StopExtender ¶
func (w ContextStub) StopExtender()
Click to show internal directories.
Click to hide internal directories.