Methods Summary |
---|
public boolean | equals(com.sun.enterprise.admin.event.ConfigChangeCategory other)Two config change categories are same if they share the same regular
expression pattern (irrespective of the name given to them).
if (configXPathPattern == null) {
if (other.configXPathPattern == null) {
return ((configChangeCategoryName != null) ?
configChangeCategoryName.equals(
other.configChangeCategoryName) :
(other.configChangeCategoryName == null));
} else {
return false;
}
} else {
return configXPathPattern.equals(other.configXPathPattern);
}
|
public java.util.regex.Pattern | getConfigXPathPattern()Get regular expression pattern on attribute XPath that defines this
category.
return configXPathPattern;
|
public java.lang.String | getName()Get name of this configuration change category.
return configChangeCategoryName;
|
public void | setConfigXPathPattern(java.lang.String regex)Set regular expression pattern over attribute XPath that defines this
category.
configXPathPattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
|
public void | setConfigXPathPattern(java.util.regex.Pattern regex)Set regular expression pattern over attribute XPath that defines this
category.
configXPathPattern = regex;
|
public void | setName(java.lang.String name)Set name of this configuration change category to specified value.
configChangeCategoryName = name;
|