|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.Collect
public class Collect
container for list of MIB groups to be collected for the system
| Constructor Summary | |
|---|---|
Collect()
|
|
| Method Summary | |
|---|---|
void |
addIncludeGroup(int index,
String vIncludeGroup)
|
void |
addIncludeGroup(String vIncludeGroup)
|
Enumeration<String> |
enumerateIncludeGroup()
Method enumerateIncludeGroup. |
String[] |
getIncludeGroup()
Method getIncludeGroup.Returns the contents of the collection in an Array. |
String |
getIncludeGroup(int index)
Method getIncludeGroup. |
List<String> |
getIncludeGroupCollection()
Method getIncludeGroupCollection.Returns a reference to '_includeGroupList'. |
int |
getIncludeGroupCount()
Method getIncludeGroupCount. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateIncludeGroup()
Method iterateIncludeGroup. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllIncludeGroup()
|
boolean |
removeIncludeGroup(String vIncludeGroup)
Method removeIncludeGroup. |
String |
removeIncludeGroupAt(int index)
Method removeIncludeGroupAt. |
void |
setIncludeGroup(int index,
String vIncludeGroup)
|
void |
setIncludeGroup(List<String> vIncludeGroupList)
Sets the value of '_includeGroupList' by copying the given Vector. |
void |
setIncludeGroup(String[] vIncludeGroupArray)
|
void |
setIncludeGroupCollection(List<String> includeGroupList)
Deprecated. |
static Collect |
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 Collect()
| Method Detail |
|---|
public void addIncludeGroup(String vIncludeGroup)
throws IndexOutOfBoundsException
vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIncludeGroup(int index,
String vIncludeGroup)
throws IndexOutOfBoundsException
index - vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateIncludeGroup()
public String getIncludeGroup(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getIncludeGroup()
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<String> getIncludeGroupCollection()
public int getIncludeGroupCount()
public boolean isValid()
public Iterator<String> iterateIncludeGroup()
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 removeAllIncludeGroup()
public boolean removeIncludeGroup(String vIncludeGroup)
vIncludeGroup -
public String removeIncludeGroupAt(int index)
index -
public void setIncludeGroup(int index,
String vIncludeGroup)
throws IndexOutOfBoundsException
index - vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setIncludeGroup(String[] vIncludeGroupArray)
vIncludeGroupArray - public void setIncludeGroup(List<String> vIncludeGroupList)
vIncludeGroupList - the Vector to copy.public void setIncludeGroupCollection(List<String> includeGroupList)
includeGroupList - the Vector to set.
public static Collect 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 | ||||||||