|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.threshd.ThreshdConfiguration
public class ThreshdConfiguration
Top-level element for the threshd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
ThreshdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addPackage(int index,
Package vPackage)
Method addPackage |
void |
addPackage(Package vPackage)
Method addPackage |
void |
addThresholder(int index,
Thresholder vThresholder)
Method addThresholder |
void |
addThresholder(Thresholder vThresholder)
Method addThresholder |
void |
clearPackage()
Method clearPackage |
void |
clearThresholder()
Method clearThresholder |
void |
deleteThreads()
Method deleteThreads |
java.util.Enumeration |
enumeratePackage()
Method enumeratePackage |
java.util.Enumeration |
enumerateThresholder()
Method enumerateThresholder |
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'. |
Thresholder[] |
getThresholder()
Method getThresholder |
Thresholder |
getThresholder(int index)
Method getThresholder |
java.util.ArrayList |
getThresholderCollection()
Method getThresholderCollection Returns a reference to 'thresholder'. |
int |
getThresholderCount()
Method getThresholderCount |
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 |
removePackage(Package vPackage)
Method removePackage |
boolean |
removeThresholder(Thresholder vThresholder)
Method removeThresholder |
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'. |
void |
setThresholder(java.util.ArrayList thresholderCollection)
Method setThresholder Sets the value of 'thresholder' by copying the given ArrayList. |
void |
setThresholder(int index,
Thresholder vThresholder)
Method setThresholder |
void |
setThresholder(Thresholder[] thresholderArray)
Method setThresholder |
void |
setThresholderCollection(java.util.ArrayList thresholderCollection)
Method setThresholderCollection Sets the value of 'thresholder' 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 ThreshdConfiguration()
| 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 addThresholder(Thresholder vThresholder)
throws java.lang.IndexOutOfBoundsException
vThresholder -
java.lang.IndexOutOfBoundsException
public void addThresholder(int index,
Thresholder vThresholder)
throws java.lang.IndexOutOfBoundsException
index - vThresholder -
java.lang.IndexOutOfBoundsExceptionpublic void clearPackage()
public void clearThresholder()
public void deleteThreads()
public java.util.Enumeration enumeratePackage()
public java.util.Enumeration enumerateThresholder()
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 Thresholder getThresholder(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Thresholder[] getThresholder()
public java.util.ArrayList getThresholderCollection()
public int getThresholderCount()
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 removePackage(Package vPackage)
vPackage -
public boolean removeThresholder(Thresholder vThresholder)
vThresholder -
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 void setThresholder(int index,
Thresholder vThresholder)
throws java.lang.IndexOutOfBoundsException
index - vThresholder -
java.lang.IndexOutOfBoundsExceptionpublic void setThresholder(Thresholder[] thresholderArray)
thresholderArray - public void setThresholder(java.util.ArrayList thresholderCollection)
thresholderCollection - the Vector to copy.public void setThresholderCollection(java.util.ArrayList thresholderCollection)
thresholderCollection - 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 | ||||||||