|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the extending element type, used for method chaining.public interface QualifierConditionable<E>
Indicates that the extending element may have a qualifier condition.
This conditionable behavior can be either "positive match" (allow only elements with any of the qualifiers) or "negative match" (disallow elements with any of the qualifiers). This is controlled by thewithQualifierMatchingStrategy(QualifierMatchingStrategy)
flag.
By default, the strategy is set to "positive matching".
Method Summary | |
---|---|
QualifierMatchingStrategy |
qualifierMatchingStrategy()
The matching strategy flag for positive or negative matching. |
java.util.Set<java.lang.String> |
qualifiersRestrictiedTo()
The set of qualifiers this element is restricted to. |
E |
restrictToQualifiers(java.util.Collection<java.lang.String> qualifiers)
Restrict the element to match (or negative-match) the given qualifiers. |
E |
restrictToQualifiers(java.lang.String... qualifiers)
Restrict the element to match (or negative-match) the given qualifiers. |
E |
withQualifierMatchingStrategy(QualifierMatchingStrategy matchingStrategyFlag)
Sets the matching strategy for positive or negative matching. |
Method Detail |
---|
E restrictToQualifiers(java.lang.String... qualifiers)
qualifiers
- the qualifiers to restrict to.
E restrictToQualifiers(java.util.Collection<java.lang.String> qualifiers)
qualifiers
- the qualifiers to restrict to.
java.util.Set<java.lang.String> qualifiersRestrictiedTo()
E withQualifierMatchingStrategy(QualifierMatchingStrategy matchingStrategyFlag)
matchingStrategyFlag
- the flag.
QualifierMatchingStrategy qualifierMatchingStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |