public class Notifier
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Notifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(java.lang.String key,
java.lang.String value)
Method addConfiguration.
|
java.lang.String |
getAddress()
Get Deprecated.
|
java.util.Properties |
getConfiguration()
Method getConfiguration.
|
java.lang.String |
getType()
Get the mechanism used to deliver notifications.
|
boolean |
isSendOnError()
Get whether to send notifications on error.
|
boolean |
isSendOnFailure()
Get whether to send notifications on failure.
|
boolean |
isSendOnSuccess()
Get whether to send notifications on success.
|
boolean |
isSendOnWarning()
Get whether to send notifications on warning.
|
void |
setAddress(java.lang.String address)
Set Deprecated.
|
void |
setConfiguration(java.util.Properties configuration)
Set extended configuration specific to this notifier goes
here.
|
void |
setSendOnError(boolean sendOnError)
Set whether to send notifications on error.
|
void |
setSendOnFailure(boolean sendOnFailure)
Set whether to send notifications on failure.
|
void |
setSendOnSuccess(boolean sendOnSuccess)
Set whether to send notifications on success.
|
void |
setSendOnWarning(boolean sendOnWarning)
Set whether to send notifications on warning.
|
void |
setType(java.lang.String type)
Set the mechanism used to deliver notifications.
|
public void addConfiguration(java.lang.String key,
java.lang.String value)
key - value - public java.lang.String getAddress()
public java.util.Properties getConfiguration()
public java.lang.String getType()
public boolean isSendOnError()
public boolean isSendOnFailure()
public boolean isSendOnSuccess()
public boolean isSendOnWarning()
public void setAddress(java.lang.String address)
address - public void setConfiguration(java.util.Properties configuration)
configuration - public void setSendOnError(boolean sendOnError)
sendOnError - public void setSendOnFailure(boolean sendOnFailure)
sendOnFailure - public void setSendOnSuccess(boolean sendOnSuccess)
sendOnSuccess - public void setSendOnWarning(boolean sendOnWarning)
sendOnWarning - public void setType(java.lang.String type)
type -