Package org.wildfly.discovery
Class AllFilterSpec
java.lang.Object
org.wildfly.discovery.FilterSpec
org.wildfly.discovery.AllFilterSpec
- All Implemented Interfaces:
Serializable,Iterable<FilterSpec>
A filter specification matching all of a set of sub-filters.
- Author:
- David M. Lloyd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.wildfly.discovery.FilterSpec
FilterSpec.Visitor<P,R, E extends Exception> -
Method Summary
Modifier and TypeMethodDescription<P,R, E extends Exception>
Raccept(FilterSpec.Visitor<P, R, E> visitor, P parameter) booleanequals(AllFilterSpec obj) booleanequals(FilterSpec obj) inthashCode()iterator()booleanmatchesMulti(Map<String, ? extends Collection<AttributeValue>> attributes) Determine whether the given attribute multi-map matches this filter.booleanmatchesSimple(Map<String, AttributeValue> attributes) Determine whether the given simple attribute map matches this filter.booleanmayMatch(Collection<String> attributeNames) Determine whether this filter spec might match an attribute map containing the given keys.booleanmayNotMatch(Collection<String> attributeNames) Determine whether this filter spec might not match an attribute map containing the given keys.Methods inherited from class org.wildfly.discovery.FilterSpec
accept, all, all, all, any, any, approx, equal, equal, equals, escape, escapeTo, fromString, greaterOrEqual, greaterOrEqual, hasAttribute, lessOrEqual, lessOrEqual, none, not, substringMatch, toString, willMatch, willNotMatchMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
matchesSimple
Description copied from class:FilterSpecDetermine whether the given simple attribute map matches this filter.- Specified by:
matchesSimplein classFilterSpec- Parameters:
attributes- the attribute map- Returns:
trueif the map matches,falseotherwise
-
matchesMulti
Description copied from class:FilterSpecDetermine whether the given attribute multi-map matches this filter.- Specified by:
matchesMultiin classFilterSpec- Parameters:
attributes- the attribute map- Returns:
trueif the map matches,falseotherwise
-
mayMatch
Description copied from class:FilterSpecDetermine whether this filter spec might match an attribute map containing the given keys.- Specified by:
mayMatchin classFilterSpec- Parameters:
attributeNames- the attribute names- Returns:
trueif the filter spec might match,falseif it will definitely not match
-
mayNotMatch
Description copied from class:FilterSpecDetermine whether this filter spec might not match an attribute map containing the given keys.- Specified by:
mayNotMatchin classFilterSpec- Parameters:
attributeNames- the attribute names- Returns:
trueif the filter spec might not match,falseif it will definitely match
-
accept
public <P,R, R acceptE extends Exception> (FilterSpec.Visitor<P, R, throws EE> visitor, P parameter) - Specified by:
acceptin classFilterSpec- Throws:
E extends Exception
-
iterator
- Specified by:
iteratorin interfaceIterable<FilterSpec>
-
hashCode
public int hashCode() -
equals
- Specified by:
equalsin classFilterSpec
-
equals
-