|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.poller.PollerConfiguration
public class PollerConfiguration
Top-level element for the poller-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
PollerConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addMonitor(int index,
Monitor vMonitor)
Method addMonitor |
void |
addMonitor(Monitor vMonitor)
Method addMonitor |
void |
addPackage(int index,
Package vPackage)
Method addPackage |
void |
addPackage(Package vPackage)
Method addPackage |
void |
clearMonitor()
Method clearMonitor |
void |
clearPackage()
Method clearPackage |
void |
deleteThreads()
Method deleteThreads |
java.util.Enumeration |
enumerateMonitor()
Method enumerateMonitor |
java.util.Enumeration |
enumeratePackage()
Method enumeratePackage |
Monitor[] |
getMonitor()
Method getMonitor |
Monitor |
getMonitor(int index)
Method getMonitor |
java.util.ArrayList |
getMonitorCollection()
Method getMonitorCollection Returns a reference to 'monitor'. |
int |
getMonitorCount()
Method getMonitorCount |
java.lang.String |
getNextOutageId()
Returns the value of field 'nextOutageId'. |
NodeOutage |
getNodeOutage()
Returns the value of field 'nodeOutage'. |
Package[] |
getPackage()
Method getPackage |
Package |
getPackage(int index)
Method getPackage |
java.util.ArrayList |
getPackageCollection()
Method getPackageCollection Returns a reference to '_package'. |
int |
getPackageCount()
Method getPackageCount |
java.lang.String |
getPathOutageEnabled()
Returns the value of field 'pathOutageEnabled'. |
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()
Method hasThreads |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeMonitor(Monitor vMonitor)
Method removeMonitor |
boolean |
removePackage(Package vPackage)
Method removePackage |
void |
setMonitor(java.util.ArrayList monitorCollection)
Method setMonitor Sets the value of 'monitor' by copying the given ArrayList. |
void |
setMonitor(int index,
Monitor vMonitor)
Method setMonitor |
void |
setMonitor(Monitor[] monitorArray)
Method setMonitor |
void |
setMonitorCollection(java.util.ArrayList monitorCollection)
Method setMonitorCollection Sets the value of 'monitor' by setting it to the given ArrayList. |
void |
setNextOutageId(java.lang.String nextOutageId)
Sets the value of field 'nextOutageId'. |
void |
setNodeOutage(NodeOutage nodeOutage)
Sets the value of field 'nodeOutage'. |
void |
setPackage(java.util.ArrayList _packageCollection)
Method setPackage Sets the value of '_package' by copying the given ArrayList. |
void |
setPackage(int index,
Package vPackage)
Method setPackage |
void |
setPackage(Package[] _packageArray)
Method setPackage |
void |
setPackageCollection(java.util.ArrayList _packageCollection)
Method setPackageCollection Sets the value of '_package' by setting it to the given ArrayList. |
void |
setPathOutageEnabled(java.lang.String pathOutageEnabled)
Sets the value of field 'pathOutageEnabled'. |
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 java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.IndexOutOfBoundsExceptionpublic void clearMonitor()
public void clearPackage()
public void deleteThreads()
public java.util.Enumeration enumerateMonitor()
public java.util.Enumeration enumeratePackage()
public Monitor getMonitor(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Monitor[] getMonitor()
public java.util.ArrayList getMonitorCollection()
public int getMonitorCount()
public java.lang.String getNextOutageId()
public NodeOutage getNodeOutage()
public Package getPackage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Package[] getPackage()
public java.util.ArrayList getPackageCollection()
public int getPackageCount()
public java.lang.String getPathOutageEnabled()
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.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeMonitor(Monitor vMonitor)
vMonitor -
public boolean removePackage(Package vPackage)
vPackage -
public void setMonitor(int index,
Monitor vMonitor)
throws java.lang.IndexOutOfBoundsException
index - vMonitor -
java.lang.IndexOutOfBoundsExceptionpublic void setMonitor(Monitor[] monitorArray)
monitorArray - public void setMonitor(java.util.ArrayList monitorCollection)
monitorCollection - the Vector to copy.public void setMonitorCollection(java.util.ArrayList monitorCollection)
monitorCollection - the ArrayList to copy.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.IndexOutOfBoundsExceptionpublic void setPackage(Package[] _packageArray)
_packageArray - public void setPackage(java.util.ArrayList _packageCollection)
_packageCollection - the Vector to copy.public void setPackageCollection(java.util.ArrayList _packageCollection)
_packageCollection - the ArrayList to copy.public void setPathOutageEnabled(java.lang.String pathOutageEnabled)
pathOutageEnabled - the value of field
'pathOutageEnabled'.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 java.lang.Object 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||