Modifier and Type | Field and Description |
---|---|
private AttributeValueExp | |
private String | |
private static final long |
Access | Constructor and Description |
---|---|
public | |
public | MatchQueryExp(AttributeValueExp a, StringValueExp s)
Creates a new MatchQueryExp where the specified AttributeValueExp matches the specified pattern StringValueExp. |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: True if the query was successfully applied to the MBean, false otherwise.The name of the MBean on which the MatchQueryExp will be applied. name)Implements javax. Applies the MatchQueryExp on a MBean. |
public AttributeValueExp | |
public String | |
public String | |
private static boolean |
exp | back to summary |
---|---|
private AttributeValueExp exp |
pattern | back to summary |
---|---|
private String pattern |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
MatchQueryExp | back to summary |
---|---|
public MatchQueryExp() Basic Constructor. |
MatchQueryExp | back to summary |
---|---|
public MatchQueryExp(AttributeValueExp a, StringValueExp s) Creates a new MatchQueryExp where the specified AttributeValueExp matches the specified pattern StringValueExp. |
apply | back to summary |
---|---|
public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException Implements javax. Applies the MatchQueryExp on a MBean.
|
getAttribute | back to summary |
---|---|
public AttributeValueExp getAttribute() Returns the attribute of the query. |
getPattern | back to summary |
---|---|
public String getPattern() Returns the pattern of the query. |
toString | back to summary |
---|---|
public String toString() Overrides java. Returns the string representing the object
|
wildmatch | back to summary |
---|---|
private static boolean wildmatch(String s, String p) |