|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Guard
A guard is a condition that allows a choice between various transitions having the same start state and the same triggering event.
| Method Summary | |
|---|---|
boolean |
check(AttributeReader event,
AttributeReader state)
Check if the condition is satisfied or not. |
Integer |
getPriority()
Return the priority level for the guard evaluation. |
| Method Detail |
|---|
boolean check(AttributeReader event,
AttributeReader state)
event - the event that triggered the transition to which this guard
is associatedstate - the state that completely contains the transition to which
this guard is associatedInteger getPriority()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||