|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
Notifier()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Notifier()
| Method Detail |
|---|
public void addConfiguration(String key,
String value)
key - value - public Notifier clone()
clone in class Objectpublic String getAddress()
public Properties getConfiguration()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation in interface InputLocationTrackerkey -
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 setLocation(Object key,
InputLocation location)
InputLocationTracker
setLocation 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 - public void setType(String type)
type -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||