public interface ExceptionGateway
Modifier and Type | Method and Description |
---|---|
void |
announceCaseCancellation(java.lang.String caseID)
Announced by the engine when a case has been cancelled
|
void |
announceCheckCaseConstraints(YSpecificationID specID,
java.lang.String caseID,
java.lang.String data,
boolean preCheck)
Announced by the engine when a case begins or completes to allow for the
checking of pre & post constraints.
|
void |
announceCheckWorkItemConstraints(YWorkItem item,
Document data,
boolean preCheck)
Announced by the engine when a new workitem gets enabled to allow for the
checking of pre & post constraints.
|
void |
announceConstraintViolation(YWorkItem item)
FOR FUTURE IMPLEMENTATION
|
void |
announceTimeOut(YWorkItem item,
java.util.List taskList)
Announced by the engine when a workitem has reached a deadline.
|
void |
announceWorkitemAbort(YWorkItem item)
Announced by the engine when a work item has been checked out and then
declined (returned) by a service (before completion)
|
java.lang.String |
getScheme() |
void |
shutdown()
Called when the Engine is shutdown (servlet destroyed); the listener should
to do its own finalisation processing
|
java.lang.String getScheme()
void announceCheckWorkItemConstraints(YWorkItem item, Document data, boolean preCheck)
item
- - the enabled workitemdata
- - the workitem's datapreCheck
- - true if before item execution, false if aftervoid announceCheckCaseConstraints(YSpecificationID specID, java.lang.String caseID, java.lang.String data, boolean preCheck)
specID
- - the id of the specfication of which the case is an instancecaseID
- - the id of the casedata
- - the case's datapreCheck
- - true if before item execution, false if aftervoid announceTimeOut(YWorkItem item, java.util.List taskList)
item
- - the timed out workitem (associated with the timeService)taskList
- - a list of tasks running in parallel with the timedout workitemvoid announceCaseCancellation(java.lang.String caseID)
caseID
- - the cancelled casevoid shutdown()
void announceWorkitemAbort(YWorkItem item)
item
- the aborted itemvoid announceConstraintViolation(YWorkItem item)
Copyright © 2004-2014 The YAWL Foundation.