|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.rtc.RTCConfiguration
Field Summary | |
private int |
_errorsBeforeUrlUnsubscribe
|
private boolean |
_has_errorsBeforeUrlUnsubscribe
keeps track of state for field: _errorsBeforeUrlUnsubscribe |
private boolean |
_has_maxEventsBeforeResend
keeps track of state for field: _maxEventsBeforeResend |
private boolean |
_has_senders
keeps track of state for field: _senders |
private boolean |
_has_updaters
keeps track of state for field: _updaters |
private java.lang.String |
_highThresholdInterval
|
private java.lang.String |
_lowThresholdInterval
|
private int |
_maxEventsBeforeResend
|
private java.lang.String |
_rollingWindow
|
private int |
_senders
|
private int |
_updaters
|
private java.lang.String |
_userRefreshInterval
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
RTCConfiguration()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
int |
getErrorsBeforeUrlUnsubscribe()
Returns the value of field 'errorsBeforeUrlUnsubscribe'. |
java.lang.String |
getHighThresholdInterval()
Returns the value of field 'highThresholdInterval'. |
java.lang.String |
getLowThresholdInterval()
Returns the value of field 'lowThresholdInterval'. |
int |
getMaxEventsBeforeResend()
Returns the value of field 'maxEventsBeforeResend'. |
java.lang.String |
getRollingWindow()
Returns the value of field 'rollingWindow'. |
int |
getSenders()
Returns the value of field 'senders'. |
int |
getUpdaters()
Returns the value of field 'updaters'. |
java.lang.String |
getUserRefreshInterval()
Returns the value of field 'userRefreshInterval'. |
boolean |
hasErrorsBeforeUrlUnsubscribe()
|
boolean |
hasMaxEventsBeforeResend()
|
boolean |
hasSenders()
|
boolean |
hasUpdaters()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setErrorsBeforeUrlUnsubscribe(int errorsBeforeUrlUnsubscribe)
Sets the value of field 'errorsBeforeUrlUnsubscribe'. |
void |
setHighThresholdInterval(java.lang.String highThresholdInterval)
Sets the value of field 'highThresholdInterval'. |
void |
setLowThresholdInterval(java.lang.String lowThresholdInterval)
Sets the value of field 'lowThresholdInterval'. |
void |
setMaxEventsBeforeResend(int maxEventsBeforeResend)
Sets the value of field 'maxEventsBeforeResend'. |
void |
setRollingWindow(java.lang.String rollingWindow)
Sets the value of field 'rollingWindow'. |
void |
setSenders(int senders)
Sets the value of field 'senders'. |
void |
setUpdaters(int updaters)
Sets the value of field 'updaters'. |
void |
setUserRefreshInterval(java.lang.String userRefreshInterval)
Sets the value of field 'userRefreshInterval'. |
static RTCConfiguration |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int _updaters
private boolean _has_updaters
private int _senders
private boolean _has_senders
private java.lang.String _rollingWindow
private int _maxEventsBeforeResend
private boolean _has_maxEventsBeforeResend
private java.lang.String _lowThresholdInterval
private java.lang.String _highThresholdInterval
private java.lang.String _userRefreshInterval
private int _errorsBeforeUrlUnsubscribe
private boolean _has_errorsBeforeUrlUnsubscribe
private java.util.Vector propertyChangeListeners
Constructor Detail |
public RTCConfiguration()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public boolean equals(java.lang.Object obj)
obj
- public int getErrorsBeforeUrlUnsubscribe()
public java.lang.String getHighThresholdInterval()
public java.lang.String getLowThresholdInterval()
public int getMaxEventsBeforeResend()
public java.lang.String getRollingWindow()
public int getSenders()
public int getUpdaters()
public java.lang.String getUserRefreshInterval()
public boolean hasErrorsBeforeUrlUnsubscribe()
public boolean hasMaxEventsBeforeResend()
public boolean hasSenders()
public boolean hasUpdaters()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setErrorsBeforeUrlUnsubscribe(int errorsBeforeUrlUnsubscribe)
errorsBeforeUrlUnsubscribe
- the value of field
'errorsBeforeUrlUnsubscribe'.public void setHighThresholdInterval(java.lang.String highThresholdInterval)
highThresholdInterval
- the value of field
'highThresholdInterval'.public void setLowThresholdInterval(java.lang.String lowThresholdInterval)
lowThresholdInterval
- the value of field
'lowThresholdInterval'.public void setMaxEventsBeforeResend(int maxEventsBeforeResend)
maxEventsBeforeResend
- the value of field
'maxEventsBeforeResend'.public void setRollingWindow(java.lang.String rollingWindow)
rollingWindow
- the value of field 'rollingWindow'.public void setSenders(int senders)
senders
- the value of field 'senders'.public void setUpdaters(int updaters)
updaters
- the value of field 'updaters'.public void setUserRefreshInterval(java.lang.String userRefreshInterval)
userRefreshInterval
- the value of field
'userRefreshInterval'.public static RTCConfiguration unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |