|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.httpdatacollection.HttpDatacollectionConfig
public class HttpDatacollectionConfig
Top-level element for the datacollection-config.xml configuration file.
| Constructor Summary | |
|---|---|
HttpDatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addHttpCollection(HttpCollection vHttpCollection)
|
void |
addHttpCollection(int index,
HttpCollection vHttpCollection)
|
Enumeration<HttpCollection> |
enumerateHttpCollection()
Method enumerateHttpCollection. |
HttpCollection[] |
getHttpCollection()
Method getHttpCollection.Returns the contents of the collection in an Array. |
HttpCollection |
getHttpCollection(int index)
Method getHttpCollection. |
List<HttpCollection> |
getHttpCollectionCollection()
Method getHttpCollectionCollection.Returns a reference to '_httpCollectionList'. |
int |
getHttpCollectionCount()
Method getHttpCollectionCount. |
String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
boolean |
isValid()
Method isValid. |
Iterator<HttpCollection> |
iterateHttpCollection()
Method iterateHttpCollection. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllHttpCollection()
|
boolean |
removeHttpCollection(HttpCollection vHttpCollection)
Method removeHttpCollection. |
HttpCollection |
removeHttpCollectionAt(int index)
Method removeHttpCollectionAt. |
void |
setHttpCollection(HttpCollection[] vHttpCollectionArray)
|
void |
setHttpCollection(int index,
HttpCollection vHttpCollection)
|
void |
setHttpCollection(List<HttpCollection> vHttpCollectionList)
Sets the value of '_httpCollectionList' by copying the given Vector. |
void |
setHttpCollectionCollection(List<HttpCollection> httpCollectionList)
Deprecated. |
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'. |
static HttpDatacollectionConfig |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpDatacollectionConfig()
| Method Detail |
|---|
public void addHttpCollection(HttpCollection vHttpCollection)
throws IndexOutOfBoundsException
vHttpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addHttpCollection(int index,
HttpCollection vHttpCollection)
throws IndexOutOfBoundsException
index - vHttpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<HttpCollection> enumerateHttpCollection()
public HttpCollection getHttpCollection(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic HttpCollection[] getHttpCollection()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<HttpCollection> getHttpCollectionCollection()
public int getHttpCollectionCount()
public String getRrdRepository()
public boolean isValid()
public Iterator<HttpCollection> iterateHttpCollection()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllHttpCollection()
public boolean removeHttpCollection(HttpCollection vHttpCollection)
vHttpCollection -
public HttpCollection removeHttpCollectionAt(int index)
index -
public void setHttpCollection(int index,
HttpCollection vHttpCollection)
throws IndexOutOfBoundsException
index - vHttpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setHttpCollection(HttpCollection[] vHttpCollectionArray)
vHttpCollectionArray - public void setHttpCollection(List<HttpCollection> vHttpCollectionList)
vHttpCollectionList - the Vector to copy.public void setHttpCollectionCollection(List<HttpCollection> httpCollectionList)
httpCollectionList - the Vector to set.public void setRrdRepository(String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public static HttpDatacollectionConfig unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||