|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.collectd.Mbean
public class Mbean
Class Mbean.
| Constructor Summary | |
|---|---|
Mbean()
|
|
| Method Summary | |
|---|---|
void |
addAttrib(Attrib vAttrib)
|
void |
addAttrib(int index,
Attrib vAttrib)
|
void |
addIncludeMbean(int index,
String vIncludeMbean)
|
void |
addIncludeMbean(String vIncludeMbean)
|
Enumeration<Attrib> |
enumerateAttrib()
Method enumerateAttrib. |
Enumeration<String> |
enumerateIncludeMbean()
Method enumerateIncludeMbean. |
Attrib[] |
getAttrib()
Method getAttrib.Returns the contents of the collection in an Array. |
Attrib |
getAttrib(int index)
Method getAttrib. |
List<Attrib> |
getAttribCollection()
Method getAttribCollection.Returns a reference to '_attribList'. |
int |
getAttribCount()
Method getAttribCount. |
String |
getExclude()
Returns the value of field 'exclude'. |
String[] |
getIncludeMbean()
Method getIncludeMbean.Returns the contents of the collection in an Array. |
String |
getIncludeMbean(int index)
Method getIncludeMbean. |
List<String> |
getIncludeMbeanCollection()
Method getIncludeMbeanCollection.Returns a reference to '_includeMbeanList'. |
int |
getIncludeMbeanCount()
Method getIncludeMbeanCount. |
String |
getKeyAlias()
Returns the value of field 'keyAlias'. |
String |
getKeyfield()
Returns the value of field 'keyfield'. |
String |
getName()
Returns the value of field 'name'. |
String |
getObjectname()
Returns the value of field 'objectname'. |
boolean |
isValid()
Method isValid. |
Iterator<Attrib> |
iterateAttrib()
Method iterateAttrib. |
Iterator<String> |
iterateIncludeMbean()
Method iterateIncludeMbean. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllAttrib()
|
void |
removeAllIncludeMbean()
|
boolean |
removeAttrib(Attrib vAttrib)
Method removeAttrib. |
Attrib |
removeAttribAt(int index)
Method removeAttribAt. |
boolean |
removeIncludeMbean(String vIncludeMbean)
Method removeIncludeMbean. |
String |
removeIncludeMbeanAt(int index)
Method removeIncludeMbeanAt. |
void |
setAttrib(Attrib[] vAttribArray)
|
void |
setAttrib(int index,
Attrib vAttrib)
|
void |
setAttrib(List<Attrib> vAttribList)
Sets the value of '_attribList' by copying the given Vector. |
void |
setAttribCollection(List<Attrib> attribList)
Deprecated. |
void |
setExclude(String exclude)
Sets the value of field 'exclude'. |
void |
setIncludeMbean(int index,
String vIncludeMbean)
|
void |
setIncludeMbean(List<String> vIncludeMbeanList)
Sets the value of '_includeMbeanList' by copying the given Vector. |
void |
setIncludeMbean(String[] vIncludeMbeanArray)
|
void |
setIncludeMbeanCollection(List<String> includeMbeanList)
Deprecated. |
void |
setKeyAlias(String keyAlias)
Sets the value of field 'keyAlias'. |
void |
setKeyfield(String keyfield)
Sets the value of field 'keyfield'. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setObjectname(String objectname)
Sets the value of field 'objectname'. |
static Mbean |
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 Mbean()
| Method Detail |
|---|
public void addAttrib(Attrib vAttrib)
throws IndexOutOfBoundsException
vAttrib -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAttrib(int index,
Attrib vAttrib)
throws IndexOutOfBoundsException
index - vAttrib -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIncludeMbean(String vIncludeMbean)
throws IndexOutOfBoundsException
vIncludeMbean -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIncludeMbean(int index,
String vIncludeMbean)
throws IndexOutOfBoundsException
index - vIncludeMbean -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Attrib> enumerateAttrib()
public Enumeration<String> enumerateIncludeMbean()
public Attrib getAttrib(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Attrib[] getAttrib()
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<Attrib> getAttribCollection()
public int getAttribCount()
public String getExclude()
public String getIncludeMbean(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getIncludeMbean()
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> getIncludeMbeanCollection()
public int getIncludeMbeanCount()
public String getKeyAlias()
public String getKeyfield()
public String getName()
public String getObjectname()
public boolean isValid()
public Iterator<Attrib> iterateAttrib()
public Iterator<String> iterateIncludeMbean()
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 removeAllAttrib()
public void removeAllIncludeMbean()
public boolean removeAttrib(Attrib vAttrib)
vAttrib -
public Attrib removeAttribAt(int index)
index -
public boolean removeIncludeMbean(String vIncludeMbean)
vIncludeMbean -
public String removeIncludeMbeanAt(int index)
index -
public void setAttrib(int index,
Attrib vAttrib)
throws IndexOutOfBoundsException
index - vAttrib -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAttrib(Attrib[] vAttribArray)
vAttribArray - public void setAttrib(List<Attrib> vAttribList)
vAttribList - the Vector to copy.public void setAttribCollection(List<Attrib> attribList)
attribList - the Vector to set.public void setExclude(String exclude)
exclude - the value of field 'exclude'.
public void setIncludeMbean(int index,
String vIncludeMbean)
throws IndexOutOfBoundsException
index - vIncludeMbean -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setIncludeMbean(String[] vIncludeMbeanArray)
vIncludeMbeanArray - public void setIncludeMbean(List<String> vIncludeMbeanList)
vIncludeMbeanList - the Vector to copy.public void setIncludeMbeanCollection(List<String> includeMbeanList)
includeMbeanList - the Vector to set.public void setKeyAlias(String keyAlias)
keyAlias - the value of field 'keyAlias'.public void setKeyfield(String keyfield)
keyfield - the value of field 'keyfield'.public void setName(String name)
name - the value of field 'name'.public void setObjectname(String objectname)
objectname - the value of field 'objectname'.
public static Mbean 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 | ||||||||