public class IncludeMatchingInclusionRule extends AbstractInclusionRule<IncludeMatching>
IncludeMatching annotations.AbstractInclusionRuleannotation| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(EserialElement element)
Every
IncludeMatcher will be evaluated on the given value. |
boolean |
isInclusionRule()
Describes whether this rule is an inclusion or an exclusion rule.
For inclusion rules the processing should be stopped when the AbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns true.For exclusion rules the processing should be stopped when the AbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns false. |
public boolean evaluate(EserialElement element)
IncludeMatcher will be evaluated on the given value.evaluate in class AbstractInclusionRule<IncludeMatching>element - an element containing the getter or setter to be checked and the value of the fieldtrue if all IncludeMatchers enable the element to be includedpublic boolean isInclusionRule()
AbstractInclusionRuleAbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns true.AbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns false.isInclusionRule in class AbstractInclusionRule<IncludeMatching>true if this is an inclusion rule, false if it's an exclusion rule