|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.collectd.Service
public class Service
Service to be collected for addresses in this package
| Constructor Summary | |
|---|---|
Service()
|
|
| Method Summary | |
|---|---|
void |
addParameter(int index,
Parameter vParameter)
Method addParameter |
void |
addParameter(Parameter vParameter)
Method addParameter |
void |
clearParameter()
Method clearParameter |
void |
deleteInterval()
Method deleteInterval |
java.util.Enumeration |
enumerateParameter()
Method enumerateParameter |
long |
getInterval()
Returns the value of field 'interval'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
Parameter[] |
getParameter()
Method getParameter |
Parameter |
getParameter(int index)
Method getParameter |
java.util.ArrayList |
getParameterCollection()
Method getParameterCollection Returns a reference to 'parameter'. |
int |
getParameterCount()
Method getParameterCount |
java.lang.String |
getStatus()
Returns the value of field 'status'. |
java.lang.String |
getUserDefined()
Returns the value of field 'userDefined'. |
boolean |
hasInterval()
Method hasInterval |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeParameter(Parameter vParameter)
Method removeParameter |
void |
setInterval(long interval)
Sets the value of field 'interval'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setParameter(java.util.ArrayList parameterCollection)
Method setParameter Sets the value of 'parameter' by copying the given ArrayList. |
void |
setParameter(int index,
Parameter vParameter)
Method setParameter |
void |
setParameter(Parameter[] parameterArray)
Method setParameter |
void |
setParameterCollection(java.util.ArrayList parameterCollection)
Method setParameterCollection Sets the value of 'parameter' by setting it to the given ArrayList. |
void |
setStatus(java.lang.String status)
Sets the value of field 'status'. |
void |
setUserDefined(java.lang.String userDefined)
Sets the value of field 'userDefined'. |
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 |
|---|
public Service()
| Method Detail |
|---|
public void addParameter(Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
vParameter -
java.lang.IndexOutOfBoundsException
public void addParameter(int index,
Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
index - vParameter -
java.lang.IndexOutOfBoundsExceptionpublic void clearParameter()
public void deleteInterval()
public java.util.Enumeration enumerateParameter()
public long getInterval()
public java.lang.String getName()
public Parameter getParameter(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Parameter[] getParameter()
public java.util.ArrayList getParameterCollection()
public int getParameterCount()
public java.lang.String getStatus()
public java.lang.String getUserDefined()
public boolean hasInterval()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeParameter(Parameter vParameter)
vParameter -
public void setInterval(long interval)
interval - the value of field 'interval'.public void setName(java.lang.String name)
name - the value of field 'name'.
public void setParameter(int index,
Parameter vParameter)
throws java.lang.IndexOutOfBoundsException
index - vParameter -
java.lang.IndexOutOfBoundsExceptionpublic void setParameter(Parameter[] parameterArray)
parameterArray - public void setParameter(java.util.ArrayList parameterCollection)
parameterCollection - the Vector to copy.public void setParameterCollection(java.util.ArrayList parameterCollection)
parameterCollection - the ArrayList to copy.public void setStatus(java.lang.String status)
status - the value of field 'status'.public void setUserDefined(java.lang.String userDefined)
userDefined - the value of field 'userDefined'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||