Interface IContextTester
- All Known Implementing Classes:
AbstractContextTester
public interface IContextTester
A tester to evaluate whether a given context matches certain criteria.
- Since:
- 4.3
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCTX_COMPARISONKey used to store the comparison object in the context. -
Method Summary
Modifier and Type Method Description booleanapply(java.util.Map<java.lang.Object,java.lang.Object> context)Returns the result of applying this tester to the givencontext.
-
Field Details
-
CTX_COMPARISON
static final java.lang.String CTX_COMPARISONKey used to store the comparison object in the context.- See Also:
- Constant Field Values
-
-
Method Details
-
apply
boolean apply(java.util.Map<java.lang.Object,java.lang.Object> context)Returns the result of applying this tester to the givencontext.- Parameters:
context- a map of context elements stored under specific keys.- Returns:
trueif the givencomparisonis of a certain context,falseotherwise.
-