|
|||||||||
| Home >> All >> org >> sbugs >> logic >> [ state overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.sbugs.logic.state
Interface TransitionHandler

- public interface TransitionHandler
Any class that wishes to deal with Defect state changes must implement this interface. In addition, the class must provide a no arguement constructor, so that it can be instantiated via reflection.
| Method Summary | |
void |
handleTransition(org.sbugs.model.defect.Defect defect,
java.util.Map params,
java.sql.Connection connection)
This method is called whenever a defect's state is changed, and this class is registered as a handler for that state transition. |
| Method Detail |
handleTransition
public void handleTransition(org.sbugs.model.defect.Defect defect, java.util.Map params, java.sql.Connection connection) throws org.sbugs.exceptions.StateChangeException
- This method is called whenever a defect's state is changed, and this class
is registered as a handler for that state transition. Note that no thread
safety is provided by the state machine, implementers must ensure thread
safety themselves if necessary.
|
|||||||||
| Home >> All >> org >> sbugs >> logic >> [ state overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC