public class Notifier extends Object implements Serializable
| Constructor and Description |
|---|
Notifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(String key,
String value)
Method addConfiguration.
|
String |
getAddress()
Get Deprecated.
|
Properties |
getConfiguration()
Method getConfiguration.
|
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 |
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 - a key object.value - a value object.public String getAddress()
public Properties getConfiguration()
public String getType()
public boolean isSendOnError()
public boolean isSendOnFailure()
public boolean isSendOnSuccess()
public boolean isSendOnWarning()
public void setAddress(String address)
address - a address object.public void setConfiguration(Properties configuration)
configuration - a configuration object.public void setSendOnError(boolean sendOnError)
sendOnError - a sendOnError object.public void setSendOnFailure(boolean sendOnFailure)
sendOnFailure - a sendOnFailure object.public void setSendOnSuccess(boolean sendOnSuccess)
sendOnSuccess - a sendOnSuccess object.public void setSendOnWarning(boolean sendOnWarning)
sendOnWarning - a sendOnWarning object.public void setType(String type)
type - a type object.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.