public class HttpDatacollectionConfig extends Object implements Serializable
Constructor and Description |
---|
HttpDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addHttpCollection(HttpCollection vHttpCollection) |
void |
addHttpCollection(int index,
HttpCollection vHttpCollection) |
Enumeration<HttpCollection> |
enumerateHttpCollection()
Method enumerateHttpCollection.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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() |
public void addHttpCollection(HttpCollection vHttpCollection) throws IndexOutOfBoundsException
vHttpCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 boolean equals(Object obj)
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 int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.