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 |
setOtherLocation(Object key,
InputLocation location) |
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 void addConfiguration(String key, String value)
key
- value
- public String getAddress()
public Properties getConfiguration()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public String getType()
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 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(String type)
type
- Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.