Package org.wildfly.discovery
Class LessEqualFilterSpec
java.lang.Object
org.wildfly.discovery.FilterSpec
org.wildfly.discovery.LessEqualFilterSpec
- All Implemented Interfaces:
Serializable
- 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(FilterSpec other) booleanequals(LessEqualFilterSpec other) Get the attribute to compare.getValue()Get the value to check for.inthashCode()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, willNotMatch
-
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
-
getAttribute
Get the attribute to compare.- Returns:
- the attribute to compare (not
null)
-
getValue
Get the value to check for.- Returns:
- the value to check for (not
null)
-
hashCode
public int hashCode() -
equals
- Specified by:
equalsin classFilterSpec
-
equals
-