public class Notifier extends Object implements Serializable, Cloneable, InputLocationTracker
| Constructor and Description | 
|---|
| Notifier() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addConfiguration(String key,
                                String value)Method addConfiguration. | 
| Notifier | clone()Method clone. | 
| String | getAddress()Get Deprecated. | 
| Properties | getConfiguration()Method getConfiguration. | 
| InputLocation | getLocation(Object key)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 address)Set Deprecated. | 
| void | setConfiguration(Properties configuration)Set extended configuration specific to this notifier goes
 here. | 
| void | setLocation(Object key,
                      InputLocation location)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 type)Set the mechanism used to deliver notifications. | 
public Notifier()
public void addConfiguration(String key, String value)
key - value - public String getAddress()
public Properties getConfiguration()
public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public boolean isSendOnError()
public boolean isSendOnFailure()
public boolean isSendOnSuccess()
public boolean isSendOnWarning()
public void setAddress(String address)
address - public void setConfiguration(Properties configuration)
configuration - public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - 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 - Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.