|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.DatacollectionConfig
public class DatacollectionConfig
Top-level element for the datacollection-config.xml configuration file.
| Constructor Summary | |
|---|---|
DatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addSnmpCollection(int index,
SnmpCollection vSnmpCollection)
Method addSnmpCollection |
void |
addSnmpCollection(SnmpCollection vSnmpCollection)
Method addSnmpCollection |
void |
clearSnmpCollection()
Method clearSnmpCollection |
java.util.Enumeration |
enumerateSnmpCollection()
Method enumerateSnmpCollection |
java.lang.String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
SnmpCollection[] |
getSnmpCollection()
Method getSnmpCollection |
SnmpCollection |
getSnmpCollection(int index)
Method getSnmpCollection |
java.util.ArrayList |
getSnmpCollectionCollection()
Method getSnmpCollectionCollection Returns a reference to 'snmpCollection'. |
int |
getSnmpCollectionCount()
Method getSnmpCollectionCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeSnmpCollection(SnmpCollection vSnmpCollection)
Method removeSnmpCollection |
void |
setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'. |
void |
setSnmpCollection(java.util.ArrayList snmpCollectionCollection)
Method setSnmpCollection Sets the value of 'snmpCollection' by copying the given ArrayList. |
void |
setSnmpCollection(int index,
SnmpCollection vSnmpCollection)
Method setSnmpCollection |
void |
setSnmpCollection(SnmpCollection[] snmpCollectionArray)
Method setSnmpCollection |
void |
setSnmpCollectionCollection(java.util.ArrayList snmpCollectionCollection)
Method setSnmpCollectionCollection Sets the value of 'snmpCollection' 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 DatacollectionConfig()
| Method Detail |
|---|
public void addSnmpCollection(SnmpCollection vSnmpCollection)
throws java.lang.IndexOutOfBoundsException
vSnmpCollection -
java.lang.IndexOutOfBoundsException
public void addSnmpCollection(int index,
SnmpCollection vSnmpCollection)
throws java.lang.IndexOutOfBoundsException
index - vSnmpCollection -
java.lang.IndexOutOfBoundsExceptionpublic void clearSnmpCollection()
public java.util.Enumeration enumerateSnmpCollection()
public java.lang.String getRrdRepository()
public SnmpCollection getSnmpCollection(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic SnmpCollection[] getSnmpCollection()
public java.util.ArrayList getSnmpCollectionCollection()
public int getSnmpCollectionCount()
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 removeSnmpCollection(SnmpCollection vSnmpCollection)
vSnmpCollection -
public void setRrdRepository(java.lang.String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public void setSnmpCollection(int index,
SnmpCollection vSnmpCollection)
throws java.lang.IndexOutOfBoundsException
index - vSnmpCollection -
java.lang.IndexOutOfBoundsExceptionpublic void setSnmpCollection(SnmpCollection[] snmpCollectionArray)
snmpCollectionArray - public void setSnmpCollection(java.util.ArrayList snmpCollectionCollection)
snmpCollectionCollection - the Vector to copy.public void setSnmpCollectionCollection(java.util.ArrayList snmpCollectionCollection)
snmpCollectionCollection - 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 | ||||||||