|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgestIT.ExpContent
public class ExpContent
Class that represent a generic checker for a constraint to a building block If you need to add a specific constraint to a building block you should extend this class and override the Accept and Consume methods.
Constructor Summary | |
---|---|
ExpContent()
Constructor that create a new ExpContent |
Method Summary | |
---|---|
boolean |
Accepts(ExpEventArgs args,
Token token)
Method that check if a specific event meet a constraint |
boolean |
Consume(ExpEventArgs args,
Token token)
Method that consume an event |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpContent()
Method Detail |
---|
public boolean Accepts(ExpEventArgs args, Token token)
args
- The arguments of the eventtoken
- The token that must be passed
public boolean Consume(ExpEventArgs args, Token token)
args
- The arguments of the eventtoken
- The token that must be passed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |