|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.collectd.CollectdConfiguration
public class CollectdConfiguration
Top-level element for the collectd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
CollectdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addCollector(Collector vCollector)
Method addCollector |
void |
addCollector(int index,
Collector vCollector)
Method addCollector |
void |
addPackage(int index,
Package vPackage)
Method addPackage |
void |
addPackage(Package vPackage)
Method addPackage |
void |
clearCollector()
Method clearCollector |
void |
clearPackage()
Method clearPackage |
void |
deleteThreads()
Method deleteThreads |
java.util.Enumeration |
enumerateCollector()
Method enumerateCollector |
java.util.Enumeration |
enumeratePackage()
Method enumeratePackage |
Collector[] |
getCollector()
Method getCollector |
Collector |
getCollector(int index)
Method getCollector |
java.util.ArrayList |
getCollectorCollection()
Method getCollectorCollection Returns a reference to 'collector'. |
int |
getCollectorCount()
Method getCollectorCount |
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 |
int |
getThreads()
Returns the value of field 'threads'. |
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 |
removeCollector(Collector vCollector)
Method removeCollector |
boolean |
removePackage(Package vPackage)
Method removePackage |
void |
setCollector(java.util.ArrayList collectorCollection)
Method setCollector Sets the value of 'collector' by copying the given ArrayList. |
void |
setCollector(Collector[] collectorArray)
Method setCollector |
void |
setCollector(int index,
Collector vCollector)
Method setCollector |
void |
setCollectorCollection(java.util.ArrayList collectorCollection)
Method setCollectorCollection Sets the value of 'collector' by setting it to the given ArrayList. |
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 |
setThreads(int threads)
Sets the value of field 'threads'. |
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 CollectdConfiguration()
| Method Detail |
|---|
public void addCollector(Collector vCollector)
throws java.lang.IndexOutOfBoundsException
vCollector -
java.lang.IndexOutOfBoundsException
public void addCollector(int index,
Collector vCollector)
throws java.lang.IndexOutOfBoundsException
index - vCollector -
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 clearCollector()
public void clearPackage()
public void deleteThreads()
public java.util.Enumeration enumerateCollector()
public java.util.Enumeration enumeratePackage()
public Collector getCollector(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Collector[] getCollector()
public java.util.ArrayList getCollectorCollection()
public int getCollectorCount()
public Package getPackage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Package[] getPackage()
public java.util.ArrayList getPackageCollection()
public int getPackageCount()
public int getThreads()
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 removeCollector(Collector vCollector)
vCollector -
public boolean removePackage(Package vPackage)
vPackage -
public void setCollector(int index,
Collector vCollector)
throws java.lang.IndexOutOfBoundsException
index - vCollector -
java.lang.IndexOutOfBoundsExceptionpublic void setCollector(Collector[] collectorArray)
collectorArray - public void setCollector(java.util.ArrayList collectorCollection)
collectorCollection - the Vector to copy.public void setCollectorCollection(java.util.ArrayList collectorCollection)
collectorCollection - the ArrayList to copy.
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 setThreads(int threads)
threads - the value of field 'threads'.
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 | ||||||||