|
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.poller.PollerConfiguration
Field Summary | |
private boolean |
_has_threads
keeps track of state for field: _threads |
private java.util.ArrayList |
_monitorList
|
private java.lang.String |
_nextOutageId
|
private NodeOutage |
_nodeOutage
|
private java.util.ArrayList |
_packageList
|
private java.lang.String |
_serviceUnresponsiveEnabled
|
private int |
_threads
|
private java.lang.String |
_xmlrpc
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
PollerConfiguration()
|
Method Summary | |
void |
addMonitor(int index,
Monitor vMonitor)
|
void |
addMonitor(Monitor vMonitor)
|
void |
addPackage(int index,
Package vPackage)
|
void |
addPackage(Package vPackage)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearMonitor()
|
void |
clearPackage()
|
java.util.Enumeration |
enumerateMonitor()
|
java.util.Enumeration |
enumeratePackage()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Monitor[] |
getMonitor()
|
Monitor |
getMonitor(int index)
|
java.util.Collection |
getMonitorCollection()
|
int |
getMonitorCount()
|
java.lang.String |
getNextOutageId()
Returns the value of field 'nextOutageId'. |
NodeOutage |
getNodeOutage()
Returns the value of field 'nodeOutage'. |
Package[] |
getPackage()
|
Package |
getPackage(int index)
|
java.util.Collection |
getPackageCollection()
|
int |
getPackageCount()
|
java.lang.String |
getServiceUnresponsiveEnabled()
Returns the value of field 'serviceUnresponsiveEnabled'. |
int |
getThreads()
Returns the value of field 'threads'. |
java.lang.String |
getXmlrpc()
Returns the value of field 'xmlrpc'. |
boolean |
hasThreads()
|
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 |
removeMonitor(Monitor vMonitor)
|
boolean |
removePackage(Package vPackage)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setMonitor(int index,
Monitor vMonitor)
|
void |
setMonitor(Monitor[] monitorArray)
|
void |
setMonitorCollection(java.util.Collection vMonitor)
|
void |
setNextOutageId(java.lang.String nextOutageId)
Sets the value of field 'nextOutageId'. |
void |
setNodeOutage(NodeOutage nodeOutage)
Sets the value of field 'nodeOutage'. |
void |
setPackage(int index,
Package vPackage)
|
void |
setPackage(Package[] _packageArray)
|
void |
setPackageCollection(java.util.Collection vPackage)
|
void |
setServiceUnresponsiveEnabled(java.lang.String serviceUnresponsiveEnabled)
Sets the value of field 'serviceUnresponsiveEnabled'. |
void |
setThreads(int threads)
Sets the value of field 'threads'. |
void |
setXmlrpc(java.lang.String xmlrpc)
Sets the value of field 'xmlrpc'. |
static PollerConfiguration |
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 _threads
private boolean _has_threads
private java.lang.String _nextOutageId
private java.lang.String _serviceUnresponsiveEnabled
private java.lang.String _xmlrpc
private NodeOutage _nodeOutage
private java.util.ArrayList _packageList
private java.util.ArrayList _monitorList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public PollerConfiguration()
Method Detail |
public void addMonitor(Monitor vMonitor) throws java.lang.IndexOutOfBoundsException
vMonitor
-
java.lang.IndexOutOfBoundsException
public void addMonitor(int index, Monitor vMonitor) throws java.lang.IndexOutOfBoundsException
index
- vMonitor
-
java.lang.IndexOutOfBoundsException
public void addPackage(Package vPackage) throws java.lang.IndexOutOfBoundsException
vPackage
-
java.lang.IndexOutOfBoundsException
public void addPackage(int index, Package vPackage) throws java.lang.IndexOutOfBoundsException
index
- vPackage
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearMonitor()
public void clearPackage()
public java.util.Enumeration enumerateMonitor()
public java.util.Enumeration enumeratePackage()
public boolean equals(java.lang.Object obj)
obj
- public Monitor getMonitor(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Monitor[] getMonitor()
public java.util.Collection getMonitorCollection()
public int getMonitorCount()
public java.lang.String getNextOutageId()
public NodeOutage getNodeOutage()
public Package getPackage(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Package[] getPackage()
public java.util.Collection getPackageCollection()
public int getPackageCount()
public java.lang.String getServiceUnresponsiveEnabled()
public int getThreads()
public java.lang.String getXmlrpc()
public boolean hasThreads()
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 removeMonitor(Monitor vMonitor)
vMonitor
- public boolean removePackage(Package vPackage)
vPackage
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setMonitor(int index, Monitor vMonitor) throws java.lang.IndexOutOfBoundsException
index
- vMonitor
-
java.lang.IndexOutOfBoundsException
public void setMonitor(Monitor[] monitorArray)
monitorArray
- public void setMonitorCollection(java.util.Collection vMonitor)
vMonitor
- public void setNextOutageId(java.lang.String nextOutageId)
nextOutageId
- the value of field 'nextOutageId'.public void setNodeOutage(NodeOutage nodeOutage)
nodeOutage
- the value of field 'nodeOutage'.public void setPackage(int index, Package vPackage) throws java.lang.IndexOutOfBoundsException
index
- vPackage
-
java.lang.IndexOutOfBoundsException
public void setPackage(Package[] _packageArray)
_packageArray
- public void setPackageCollection(java.util.Collection vPackage)
vPackage
- public void setServiceUnresponsiveEnabled(java.lang.String serviceUnresponsiveEnabled)
serviceUnresponsiveEnabled
- the value of field
'serviceUnresponsiveEnabled'.public void setThreads(int threads)
threads
- the value of field 'threads'.public void setXmlrpc(java.lang.String xmlrpc)
xmlrpc
- the value of field 'xmlrpc'.public static PollerConfiguration 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 |