Class MBeansRegExQueryFilter
java.lang.Object
org.apache.activemq.console.filter.AbstractQueryFilter
org.apache.activemq.console.filter.RegExQueryFilter
org.apache.activemq.console.filter.MBeansRegExQueryFilter
- All Implemented Interfaces:
QueryFilter
-
Field Summary
Fields inherited from class org.apache.activemq.console.filter.RegExQueryFilter
REGEX_PREFIXFields inherited from class org.apache.activemq.console.filter.AbstractQueryFilter
nextFields inherited from interface org.apache.activemq.console.filter.QueryFilter
QUERY_DELIMETER -
Constructor Summary
ConstructorsConstructorDescriptionCreates a regular expression query that is able to match the values of specific mbeans -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanTry to match the object data using the regular expression map.protected booleanmatches(AttributeList data, Map regex) Try to match the attribute list using the regular expression mapprotected booleanmatches(ObjectInstance data, Map regex) Try to match the object instance using the regular expression mapprotected booleanmatches(ObjectName data, Map regex) Try to match the object name instance using the regular expression mapMethods inherited from class org.apache.activemq.console.filter.RegExQueryFilter
compileQuery, filterCollectionUsingRegEx, isRegularExpression, queryMethods inherited from class org.apache.activemq.console.filter.AbstractQueryFilter
query
-
Constructor Details
-
MBeansRegExQueryFilter
Creates a regular expression query that is able to match the values of specific mbeans- Parameters:
next- - next query filter
-
-
Method Details
-
matches
Try to match the object data using the regular expression map. The regex map contains a key-value mapping of an attribute key to a regular expression the value of the key should match. The basic rule of matching is that the data must contain a property key that is included in the regex map, and that the value of the property key should match the regex specified.- Specified by:
matchesin classRegExQueryFilter- Parameters:
data- - object data to matchregex- - regex map- Returns:
- true if the data matches the regex map specified
- Throws:
Exception
-
matches
Try to match the object instance using the regular expression map- Parameters:
data- - object instance to matchregex- - regex map- Returns:
- true if the object instance matches the regex map
-
matches
Try to match the object name instance using the regular expression map- Parameters:
data- - object name to matchregex- - regex map- Returns:
- true if the object name matches the regex map
-
matches
Try to match the attribute list using the regular expression map- Parameters:
data- - attribute list to matchregex- - regex map- Returns:
- true if the attribute list matches the regex map
-