|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notifications.Notification
public class Notification
Class Notification.
| Constructor Summary | |
|---|---|
Notification()
|
|
| Method Summary | |
|---|---|
void |
addParameter(int index,
Parameter vParameter)
Method addParameter |
void |
addParameter(Parameter vParameter)
Method addParameter |
void |
clearParameter()
Method clearParameter |
java.util.Enumeration |
enumerateParameter()
Method enumerateParameter |
java.lang.String |
getDescription()
Returns the value of field 'description'. |
java.lang.String |
getDestinationPath()
Returns the value of field 'destinationPath'. |
java.lang.String |
getEventSeverity()
Returns the value of field 'eventSeverity'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
getNoticeQueue()
Returns the value of field 'noticeQueue'. |
java.lang.String |
getNumericMessage()
Returns the value of field 'numericMessage'. |
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 |
getRule()
Returns the value of field 'rule'. |
java.lang.String |
getStatus()
Returns the value of field 'status'. |
java.lang.String |
getSubject()
Returns the value of field 'subject'. |
java.lang.String |
getTextMessage()
Returns the value of field 'textMessage'. |
java.lang.String |
getUei()
Returns the value of field 'uei'. |
Varbind |
getVarbind()
Returns the value of field 'varbind'. |
java.lang.String |
getWriteable()
Returns the value of field 'writeable'. |
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 |
setDescription(java.lang.String description)
Sets the value of field 'description'. |
void |
setDestinationPath(java.lang.String destinationPath)
Sets the value of field 'destinationPath'. |
void |
setEventSeverity(java.lang.String eventSeverity)
Sets the value of field 'eventSeverity'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setNoticeQueue(java.lang.String noticeQueue)
Sets the value of field 'noticeQueue'. |
void |
setNumericMessage(java.lang.String numericMessage)
Sets the value of field 'numericMessage'. |
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 |
setRule(java.lang.String rule)
Sets the value of field 'rule'. |
void |
setStatus(java.lang.String status)
Sets the value of field 'status'. |
void |
setSubject(java.lang.String subject)
Sets the value of field 'subject'. |
void |
setTextMessage(java.lang.String textMessage)
Sets the value of field 'textMessage'. |
void |
setUei(java.lang.String uei)
Sets the value of field 'uei'. |
void |
setVarbind(Varbind varbind)
Sets the value of field 'varbind'. |
void |
setWriteable(java.lang.String writeable)
Sets the value of field 'writeable'. |
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 Notification()
| 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 java.util.Enumeration enumerateParameter()
public java.lang.String getDescription()
public java.lang.String getDestinationPath()
public java.lang.String getEventSeverity()
public java.lang.String getName()
public java.lang.String getNoticeQueue()
public java.lang.String getNumericMessage()
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 getRule()
public java.lang.String getStatus()
public java.lang.String getSubject()
public java.lang.String getTextMessage()
public java.lang.String getUei()
public Varbind getVarbind()
public java.lang.String getWriteable()
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 setDescription(java.lang.String description)
description - the value of field 'description'.public void setDestinationPath(java.lang.String destinationPath)
destinationPath - the value of field 'destinationPath'.public void setEventSeverity(java.lang.String eventSeverity)
eventSeverity - the value of field 'eventSeverity'.public void setName(java.lang.String name)
name - the value of field 'name'.public void setNoticeQueue(java.lang.String noticeQueue)
noticeQueue - the value of field 'noticeQueue'.public void setNumericMessage(java.lang.String numericMessage)
numericMessage - the value of field 'numericMessage'.
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 setRule(java.lang.String rule)
rule - the value of field 'rule'.public void setStatus(java.lang.String status)
status - the value of field 'status'.public void setSubject(java.lang.String subject)
subject - the value of field 'subject'.public void setTextMessage(java.lang.String textMessage)
textMessage - the value of field 'textMessage'.public void setUei(java.lang.String uei)
uei - the value of field 'uei'.public void setVarbind(Varbind varbind)
varbind - the value of field 'varbind'.public void setWriteable(java.lang.String writeable)
writeable - the value of field 'writeable'.
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 | ||||||||