public class ExcludeThisInclusionRule extends AbstractInclusionRule<ExcludeThis>
ExcludeThis annotations.AbstractInclusionRuleannotation| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(EserialElement element)
For any element having the
ExcludeThis annotation, the element should be excluded. |
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)
ExcludeThis annotation, the element should be excluded.evaluate in class AbstractInclusionRule<ExcludeThis>element - not usedfalsepublic boolean isInclusionRule()
AbstractInclusionRuleAbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns true.AbstractInclusionRule.evaluate(hu.elte.eserial.model.EserialElement)
returns false.isInclusionRule in class AbstractInclusionRule<ExcludeThis>true if this is an inclusion rule, false if it's an exclusion rule