org.huihoo.jfox.jmx.queries
Class MatchQueryExp
java.lang.Object
|
+--javax.management.QueryEval
|
+--org.huihoo.jfox.jmx.queries.MatchQueryExp
- All Implemented Interfaces:
- QueryExp, java.io.Serializable
- public class MatchQueryExp
- extends QueryEval
- implements QueryExp
- Author:
- Young Yang
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MatchQueryExp
public MatchQueryExp()
MatchQueryExp
public MatchQueryExp(AttributeValueExp attributevalueexp,
StringValueExp stringvalueexp)
getAttribute
public AttributeValueExp getAttribute()
getPattern
public java.lang.String getPattern()
apply
public boolean apply(ObjectName objectname)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
- Description copied from interface:
QueryExp
- Applies the QueryExp on an MBean.
- Specified by:
apply in interface QueryExp
- Following copied from interface:
javax.management.QueryExp
- Parameters:
name - The name of the MBean on which the QueryExp will be applied.- Returns:
- True if the query was successfully applied to the MBean, false otherwise
- Throws:
BadStringOperationException - BadBinaryOpValueExpException - BadAttributeValueExpException - InvalidApplicationException -
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object