public class Notifier extends Objectimplements Serializable , Cloneable , InputLocationTracker
| Constructor and Description |
|---|
Notifier()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(String
Method addConfiguration.
|
Notifier |
clone()
Method clone.
|
String |
getAddress()
Get
Deprecated.
|
Properties |
getConfiguration()
Method getConfiguration.
|
InputLocation |
getLocation(Object
Gets the location of the specified field in the input source.
|
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(String
Set
Deprecated.
|
void |
setConfiguration(Properties
Set extended configuration specific to this notifier goes here.
|
void |
setLocation(Object
Sets the location of the specified field.
|
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(String
Set the mechanism used to deliver notifications.
|
public void addConfiguration(Stringkey, String value)
key -
value -
public StringgetAddress()
public PropertiesgetConfiguration()
public InputLocationgetLocation(Object key)
InputLocationTracker
getLocation in interface
InputLocationTracker
key -
public StringgetType()
public boolean isSendOnError()
public boolean isSendOnFailure()
public boolean isSendOnSuccess()
public boolean isSendOnWarning()
public void setAddress(Stringaddress)
address -
public void setConfiguration(Propertiesconfiguration)
configuration -
public void setLocation(Objectkey, InputLocation location)
InputLocationTracker
setLocation in interface
InputLocationTracker
key -
location -
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(Stringtype)
type -