|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.statsd.PackageReport
public class PackageReport
Report to be generated for nodes matching this package
| Constructor Summary | |
|---|---|
PackageReport()
|
|
| Method Summary | |
|---|---|
void |
addParameter(int index,
Parameter vParameter)
|
void |
addParameter(Parameter vParameter)
|
Enumeration<Parameter> |
enumerateParameter()
Method enumerateParameter. |
String |
getDescription()
Returns the value of field 'description'. |
String |
getName()
Returns the value of field 'name'. |
Parameter[] |
getParameter()
Method getParameter.Returns the contents of the collection in an Array. |
Parameter |
getParameter(int index)
Method getParameter. |
List<Parameter> |
getParameterCollection()
Method getParameterCollection.Returns a reference to '_parameterList'. |
int |
getParameterCount()
Method getParameterCount. |
String |
getRetainInterval()
Returns the value of field 'retainInterval'. |
String |
getSchedule()
Returns the value of field 'schedule'. |
PackageReportStatusType |
getStatus()
Returns the value of field 'status'. |
boolean |
isValid()
Method isValid. |
Iterator<Parameter> |
iterateParameter()
Method iterateParameter. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllParameter()
|
boolean |
removeParameter(Parameter vParameter)
Method removeParameter. |
Parameter |
removeParameterAt(int index)
Method removeParameterAt. |
void |
setDescription(String description)
Sets the value of field 'description'. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setParameter(int index,
Parameter vParameter)
|
void |
setParameter(List<Parameter> vParameterList)
Sets the value of '_parameterList' by copying the given Vector. |
void |
setParameter(Parameter[] vParameterArray)
|
void |
setParameterCollection(List<Parameter> parameterList)
Deprecated. |
void |
setRetainInterval(String retainInterval)
Sets the value of field 'retainInterval'. |
void |
setSchedule(String schedule)
Sets the value of field 'schedule'. |
void |
setStatus(PackageReportStatusType status)
Sets the value of field 'status'. |
static PackageReport |
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 PackageReport()
| Method Detail |
|---|
public void addParameter(Parameter vParameter)
throws IndexOutOfBoundsException
vParameter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addParameter(int index,
Parameter vParameter)
throws IndexOutOfBoundsException
index - vParameter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Parameter> enumerateParameter()
public String getDescription()
public String getName()
public Parameter getParameter(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Parameter[] getParameter()
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<Parameter> getParameterCollection()
public int getParameterCount()
public String getRetainInterval()
public String getSchedule()
public PackageReportStatusType getStatus()
public boolean isValid()
public Iterator<Parameter> iterateParameter()
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 removeAllParameter()
public boolean removeParameter(Parameter vParameter)
vParameter -
public Parameter removeParameterAt(int index)
index -
public void setDescription(String description)
description - the value of field 'description'.public void setName(String name)
name - the value of field 'name'.
public void setParameter(int index,
Parameter vParameter)
throws IndexOutOfBoundsException
index - vParameter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setParameter(Parameter[] vParameterArray)
vParameterArray - public void setParameter(List<Parameter> vParameterList)
vParameterList - the Vector to copy.public void setParameterCollection(List<Parameter> parameterList)
parameterList - the Vector to set.public void setRetainInterval(String retainInterval)
retainInterval - the value of field 'retainInterval'.public void setSchedule(String schedule)
schedule - the value of field 'schedule'.public void setStatus(PackageReportStatusType status)
status - the value of field 'status'.
public static PackageReport 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 | ||||||||