|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.Notifier
public class Notifier
Configures one method for notifying users/developers when a build breaks.
Field Summary | |
---|---|
private java.lang.String |
address
Deprecated. |
private java.util.Properties |
configuration
Field configuration. |
private boolean |
sendOnError
Whether to send notifications on error. |
private boolean |
sendOnFailure
Whether to send notifications on failure. |
private boolean |
sendOnSuccess
Whether to send notifications on success. |
private boolean |
sendOnWarning
Whether to send notifications on warning. |
private java.lang.String |
type
The mechanism used to deliver notifications. |
Constructor Summary | |
---|---|
Notifier()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String type
private boolean sendOnError
private boolean sendOnFailure
private boolean sendOnSuccess
private boolean sendOnWarning
private java.lang.String address
private java.util.Properties configuration
Constructor Detail |
---|
public Notifier()
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |