class MatchQueryExp extends QueryEval implements QueryExp
| Constructor and Description |
|---|
MatchQueryExp()
Basic Constructor.
|
MatchQueryExp(AttributeValueExp a,
StringValueExp s)
Creates a new MatchQueryExp where the specified AttributeValueExp matches
the specified pattern StringValueExp.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ObjectName name)
Applies the MatchQueryExp on a MBean.
|
AttributeValueExp |
getAttribute()
Returns the attribute of the query.
|
String |
getPattern()
Returns the pattern of the query.
|
String |
toString()
Returns the string representing the object
|
getMBeanServer, setMBeanServerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetMBeanServerpublic MatchQueryExp()
public MatchQueryExp(AttributeValueExp a, StringValueExp s)
public AttributeValueExp getAttribute()
public String getPattern()
public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
apply in interface QueryExpname - The name of the MBean on which the MatchQueryExp will be applied.BadStringOperationExceptionBadBinaryOpValueExpExceptionBadAttributeValueExpExceptionInvalidApplicationException