public class ObjectNameQueryImpl extends Object implements ObjectNameQuery
Constructor and Description |
---|
ObjectNameQueryImpl() |
Modifier and Type | Method and Description |
---|---|
Set<ObjectName> |
matchAll(Set<ObjectName> startingSet,
String[] regexNames,
String[] regexValues)
Return the ObjectNames of all MBeans whose properties match all the specified
regular expressions.
|
Set<ObjectName> |
matchAny(Set<ObjectName> startingSet,
String[] regexNames,
String[] regexValues)
Return the ObjectNames of all MBeans whose properties match any of the specified
regular expressions.
|
public Set<ObjectName> matchAll(Set<ObjectName> startingSet, String[] regexNames, String[] regexValues)
ObjectNameQuery
matchAll
in interface ObjectNameQuery
startingSet
- optional ObjectName pattern for starting set to searchregexNames
- optional series of regular expressions for Property namesregexValues
- optional series of regular expressions for Property valuespublic Set<ObjectName> matchAny(Set<ObjectName> startingSet, String[] regexNames, String[] regexValues)
ObjectNameQuery
matchAny
in interface ObjectNameQuery
startingSet
- optional ObjectName pattern for starting set to searchregexNames
- optional series of regular expressions for Property namesregexValues
- optional series of regular expressions for Property valuesCopyright © 2020. All rights reserved.