org.opennms.netmgt.config.collectd
Class JmxDatacollectionConfig

java.lang.Object
  extended by org.opennms.netmgt.config.collectd.JmxDatacollectionConfig
All Implemented Interfaces:
java.io.Serializable

public class JmxDatacollectionConfig
extends java.lang.Object
implements java.io.Serializable

Class JmxDatacollectionConfig.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
JmxDatacollectionConfig()
           
 
Method Summary
 void addJmxCollection(int index, JmxCollection vJmxCollection)
          Method addJmxCollection
 void addJmxCollection(JmxCollection vJmxCollection)
          Method addJmxCollection
 void clearJmxCollection()
          Method clearJmxCollection
 java.util.Enumeration enumerateJmxCollection()
          Method enumerateJmxCollection
 JmxCollection[] getJmxCollection()
          Method getJmxCollection
 JmxCollection getJmxCollection(int index)
          Method getJmxCollection
 java.util.ArrayList getJmxCollectionCollection()
          Method getJmxCollectionCollection Returns a reference to 'jmxCollection'.
 int getJmxCollectionCount()
          Method getJmxCollectionCount
 java.lang.String getRrdRepository()
          Returns the value of field 'rrdRepository'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeJmxCollection(JmxCollection vJmxCollection)
          Method removeJmxCollection
 void setJmxCollection(java.util.ArrayList jmxCollectionCollection)
          Method setJmxCollection Sets the value of 'jmxCollection' by copying the given ArrayList.
 void setJmxCollection(int index, JmxCollection vJmxCollection)
          Method setJmxCollection
 void setJmxCollection(JmxCollection[] jmxCollectionArray)
          Method setJmxCollection
 void setJmxCollectionCollection(java.util.ArrayList jmxCollectionCollection)
          Method setJmxCollectionCollection Sets the value of 'jmxCollection' by setting it to the given ArrayList.
 void setRrdRepository(java.lang.String rrdRepository)
          Sets the value of field 'rrdRepository'.
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

JmxDatacollectionConfig

public JmxDatacollectionConfig()
Method Detail

addJmxCollection

public void addJmxCollection(JmxCollection vJmxCollection)
                      throws java.lang.IndexOutOfBoundsException
Method addJmxCollection

Parameters:
vJmxCollection -
Throws:
java.lang.IndexOutOfBoundsException

addJmxCollection

public void addJmxCollection(int index,
                             JmxCollection vJmxCollection)
                      throws java.lang.IndexOutOfBoundsException
Method addJmxCollection

Parameters:
index -
vJmxCollection -
Throws:
java.lang.IndexOutOfBoundsException

clearJmxCollection

public void clearJmxCollection()
Method clearJmxCollection


enumerateJmxCollection

public java.util.Enumeration enumerateJmxCollection()
Method enumerateJmxCollection

Returns:
Enumeration

getJmxCollection

public JmxCollection getJmxCollection(int index)
                               throws java.lang.IndexOutOfBoundsException
Method getJmxCollection

Parameters:
index -
Returns:
JmxCollection
Throws:
java.lang.IndexOutOfBoundsException

getJmxCollection

public JmxCollection[] getJmxCollection()
Method getJmxCollection

Returns:
JmxCollection

getJmxCollectionCollection

public java.util.ArrayList getJmxCollectionCollection()
Method getJmxCollectionCollection Returns a reference to 'jmxCollection'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getJmxCollectionCount

public int getJmxCollectionCount()
Method getJmxCollectionCount

Returns:
int

getRrdRepository

public java.lang.String getRrdRepository()
Returns the value of field 'rrdRepository'.

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeJmxCollection

public boolean removeJmxCollection(JmxCollection vJmxCollection)
Method removeJmxCollection

Parameters:
vJmxCollection -
Returns:
boolean

setJmxCollection

public void setJmxCollection(int index,
                             JmxCollection vJmxCollection)
                      throws java.lang.IndexOutOfBoundsException
Method setJmxCollection

Parameters:
index -
vJmxCollection -
Throws:
java.lang.IndexOutOfBoundsException

setJmxCollection

public void setJmxCollection(JmxCollection[] jmxCollectionArray)
Method setJmxCollection

Parameters:
jmxCollectionArray -

setJmxCollection

public void setJmxCollection(java.util.ArrayList jmxCollectionCollection)
Method setJmxCollection Sets the value of 'jmxCollection' by copying the given ArrayList.

Parameters:
jmxCollectionCollection - the Vector to copy.

setJmxCollectionCollection

public void setJmxCollectionCollection(java.util.ArrayList jmxCollectionCollection)
Method setJmxCollectionCollection Sets the value of 'jmxCollection' by setting it to the given ArrayList. No type checking is performed.

Parameters:
jmxCollectionCollection - the ArrayList to copy.

setRrdRepository

public void setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'.

Parameters:
rrdRepository - the value of field 'rrdRepository'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.