Class Notification
- java.lang.Object
-
- org.opennms.netmgt.config.notifications.Notification
-
- All Implemented Interfaces:
java.io.Serializable
public class Notification extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter parameter)
boolean
equals(java.lang.Object obj)
java.util.Optional<java.lang.String>
getDescription()
java.lang.String
getDestinationPath()
java.util.Optional<java.lang.String>
getEventSeverity()
java.lang.String
getName()
java.util.Optional<java.lang.String>
getNoticeQueue()
java.util.Optional<java.lang.String>
getNumericMessage()
java.util.List<Parameter>
getParameters()
Rule
getRule()
java.lang.String
getStatus()
java.util.Optional<java.lang.String>
getSubject()
java.lang.String
getTextMessage()
java.lang.String
getUei()
Varbind
getVarbind()
java.lang.Boolean
getWriteable()
int
hashCode()
boolean
removeParameter(Parameter parameter)
void
setDescription(java.lang.String description)
void
setDestinationPath(java.lang.String destinationPath)
void
setEventSeverity(java.lang.String eventSeverity)
void
setName(java.lang.String name)
void
setNoticeQueue(java.lang.String noticeQueue)
void
setNumericMessage(java.lang.String numericMessage)
void
setParameters(java.util.List<Parameter> parameters)
void
setRule(Rule rule)
void
setStatus(java.lang.String status)
void
setSubject(java.lang.String subject)
void
setTextMessage(java.lang.String textMessage)
void
setUei(java.lang.String uei)
void
setVarbind(Varbind varbind)
void
setWriteable(java.lang.Boolean writeable)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getWriteable
public java.lang.Boolean getWriteable()
-
setWriteable
public void setWriteable(java.lang.Boolean writeable)
-
getUei
public java.lang.String getUei()
-
setUei
public void setUei(java.lang.String uei)
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getRule
public Rule getRule()
-
setRule
public void setRule(Rule rule)
-
getNoticeQueue
public java.util.Optional<java.lang.String> getNoticeQueue()
-
setNoticeQueue
public void setNoticeQueue(java.lang.String noticeQueue)
-
getDestinationPath
public java.lang.String getDestinationPath()
-
setDestinationPath
public void setDestinationPath(java.lang.String destinationPath)
-
getTextMessage
public java.lang.String getTextMessage()
-
setTextMessage
public void setTextMessage(java.lang.String textMessage)
-
getSubject
public java.util.Optional<java.lang.String> getSubject()
-
setSubject
public void setSubject(java.lang.String subject)
-
getNumericMessage
public java.util.Optional<java.lang.String> getNumericMessage()
-
setNumericMessage
public void setNumericMessage(java.lang.String numericMessage)
-
getEventSeverity
public java.util.Optional<java.lang.String> getEventSeverity()
-
setEventSeverity
public void setEventSeverity(java.lang.String eventSeverity)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter)
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
getVarbind
public Varbind getVarbind()
-
setVarbind
public void setVarbind(Varbind varbind)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-