Package com.hp.ucmdb.api.topology
Interface QualifierConditionable<E>
- Type Parameters:
E
- the extending element type, used for method chaining.
- All Known Subinterfaces:
ComplexTypeConditionable<E>
,DirectLink
,EmptyComplexTypeConditionable<E>
,IndirectLinkStepFromPart
,IndirectLinkStepLinkPart
,IndirectLinkStepToPart
,ModelCreateFilterElement
,ModelRemoveFilterElement
,ModelUpdateFilterElement
,QueryNode
,QueryNodeRestrictions
,ReachableSetStepFromPart
,ReachableSetStepLinkPart
,ReachableSetStepToPart
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 the
withQualifierMatchingStrategy(QualifierMatchingStrategy)
flag.
By default, the strategy is set to "positive matching".- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionThe matching strategy flag for positive or negative matching.The set of qualifiers this element is restricted to.restrictToQualifiers
(String... qualifiers) Restrict the element to match (or negative-match) the given qualifiers.restrictToQualifiers
(Collection<String> qualifiers) Restrict the element to match (or negative-match) the given qualifiers.withQualifierMatchingStrategy
(QualifierMatchingStrategy matchingStrategyFlag) Sets the matching strategy for positive or negative matching.
-
Method Details
-
restrictToQualifiers
Restrict the element to match (or negative-match) the given qualifiers. Replaces any existing condition of this type.- Parameters:
qualifiers
- the qualifiers to restrict to.- Returns:
- this object. The returned object can be used for method chaining.
-
restrictToQualifiers
Restrict the element to match (or negative-match) the given qualifiers. Replaces any existing condition of this type.- Parameters:
qualifiers
- the qualifiers to restrict to.- Returns:
- this object. The returned object can be used for method chaining.
-
qualifiersRestrictiedTo
The set of qualifiers this element is restricted to.- Returns:
- the set of qualifiers this element is restricted to (positive or negative matches).
-
withQualifierMatchingStrategy
Sets the matching strategy for positive or negative matching.- Parameters:
matchingStrategyFlag
- the flag.- Returns:
- this object. The returned object can be used for method chaining.
-
qualifierMatchingStrategy
QualifierMatchingStrategy qualifierMatchingStrategy()The matching strategy flag for positive or negative matching.- Returns:
- the matching strategy flag for positive or negative matching.
-