|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.statsd.StatisticsDaemonConfiguration
public class StatisticsDaemonConfiguration
Top-level element for the statsd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
StatisticsDaemonConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addPackage(int index,
Package vPackage)
Method addPackage |
void |
addPackage(Package vPackage)
Method addPackage |
void |
addReport(int index,
Report vReport)
Method addReport |
void |
addReport(Report vReport)
Method addReport |
void |
clearPackage()
Method clearPackage |
void |
clearReport()
Method clearReport |
java.util.Enumeration |
enumeratePackage()
Method enumeratePackage |
java.util.Enumeration |
enumerateReport()
Method enumerateReport |
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 |
Report[] |
getReport()
Method getReport |
Report |
getReport(int index)
Method getReport |
java.util.ArrayList |
getReportCollection()
Method getReportCollection Returns a reference to 'report'. |
int |
getReportCount()
Method getReportCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removePackage(Package vPackage)
Method removePackage |
boolean |
removeReport(Report vReport)
Method removeReport |
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 |
setReport(java.util.ArrayList reportCollection)
Method setReport Sets the value of 'report' by copying the given ArrayList. |
void |
setReport(int index,
Report vReport)
Method setReport |
void |
setReport(Report[] reportArray)
Method setReport |
void |
setReportCollection(java.util.ArrayList reportCollection)
Method setReportCollection Sets the value of 'report' by setting it to the given ArrayList. |
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 StatisticsDaemonConfiguration()
| Method Detail |
|---|
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 addReport(Report vReport)
throws java.lang.IndexOutOfBoundsException
vReport -
java.lang.IndexOutOfBoundsException
public void addReport(int index,
Report vReport)
throws java.lang.IndexOutOfBoundsException
index - vReport -
java.lang.IndexOutOfBoundsExceptionpublic void clearPackage()
public void clearReport()
public java.util.Enumeration enumeratePackage()
public java.util.Enumeration enumerateReport()
public Package getPackage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Package[] getPackage()
public java.util.ArrayList getPackageCollection()
public int getPackageCount()
public Report getReport(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Report[] getReport()
public java.util.ArrayList getReportCollection()
public int getReportCount()
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 removePackage(Package vPackage)
vPackage -
public boolean removeReport(Report vReport)
vReport -
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 setReport(int index,
Report vReport)
throws java.lang.IndexOutOfBoundsException
index - vReport -
java.lang.IndexOutOfBoundsExceptionpublic void setReport(Report[] reportArray)
reportArray - public void setReport(java.util.ArrayList reportCollection)
reportCollection - the Vector to copy.public void setReportCollection(java.util.ArrayList reportCollection)
reportCollection - the ArrayList to copy.
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 | ||||||||