Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("HealthChecker\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
if(attr.equals(ServerTags.URL)) return "/".trim();
if(attr.equals(ServerTags.INTERVAL_IN_SECONDS)) return "30".trim();
if(attr.equals(ServerTags.TIMEOUT_IN_SECONDS)) return "10".trim();
return null;
|
public static java.lang.String | getDefaultIntervalInSeconds()Get the default value of IntervalInSeconds from dtd
return "30".trim();
|
public static java.lang.String | getDefaultTimeoutInSeconds()Get the default value of TimeoutInSeconds from dtd
return "10".trim();
|
public static java.lang.String | getDefaultUrl()Get the default value of Url from dtd
return "/".trim();
|
public java.lang.String | getIntervalInSeconds()Getter for IntervalInSeconds of the Element health-checker
return getAttributeValue(ServerTags.INTERVAL_IN_SECONDS);
|
protected java.lang.String | getRelativeXPath()get the xpath representation for this element
returns something like abc[@name='value'] or abc
depending on the type of the bean
String ret = null;
ret = "health-checker";
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getTimeoutInSeconds()Getter for TimeoutInSeconds of the Element health-checker
return getAttributeValue(ServerTags.TIMEOUT_IN_SECONDS);
|
public java.lang.String | getUrl()Getter for Url of the Element health-checker
return getAttributeValue(ServerTags.URL);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setIntervalInSeconds(java.lang.String v)Modify the IntervalInSeconds of the Element health-checker
setAttributeValue(ServerTags.INTERVAL_IN_SECONDS, v);
|
public void | setIntervalInSeconds(java.lang.String v, boolean overwrite)Modify the IntervalInSeconds of the Element health-checker
setAttributeValue(ServerTags.INTERVAL_IN_SECONDS, v, overwrite);
|
public void | setTimeoutInSeconds(java.lang.String v, boolean overwrite)Modify the TimeoutInSeconds of the Element health-checker
setAttributeValue(ServerTags.TIMEOUT_IN_SECONDS, v, overwrite);
|
public void | setTimeoutInSeconds(java.lang.String v)Modify the TimeoutInSeconds of the Element health-checker
setAttributeValue(ServerTags.TIMEOUT_IN_SECONDS, v);
|
public void | setUrl(java.lang.String v, boolean overwrite)Modify the Url of the Element health-checker
setAttributeValue(ServerTags.URL, v, overwrite);
|
public void | setUrl(java.lang.String v)Modify the Url of the Element health-checker
setAttributeValue(ServerTags.URL, v);
|
public void | validate()
|