|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Condition
that filters facts.
Tuple
Field Summary | |
static Condition[] |
EMPTY_ARRAY
Empty Condition array. |
Method Summary | |
Declaration[] |
getRequiredTupleMembers()
Retrieve the array of Declaration s required
by this condition to perform its duties. |
boolean |
isAllowed(Tuple tuple)
Determine if the supplied Tuple is allowed
by this condition. |
Field Detail |
public static final Condition[] EMPTY_ARRAY
Condition
array.
Method Detail |
public Declaration[] getRequiredTupleMembers()
Declaration
s required
by this condition to perform its duties.
Declarations
expected
on incoming Tuples
.public boolean isAllowed(Tuple tuple) throws ConditionException
Tuple
is allowed
by this condition.
tuple
- The Tuple
to test.
true
if the Tuple
passes this condition, else false
.
ConditionException
- if an error occurs during filtering.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |