Package org.apache.maven.model
Class Notifier
java.lang.Object
org.apache.maven.model.Notifier
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
Configures one method for notifying users/developers when a
 build breaks.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddConfiguration(String key, String value) Method addConfiguration.clone()Method clone.Get Deprecated.Method getConfiguration.getLocation(Object key) Gets the location of the specified field in the input source.getType()Get the mechanism used to deliver notifications.booleanGet whether to send notifications on error.booleanGet whether to send notifications on failure.booleanGet whether to send notifications on success.booleanGet whether to send notifications on warning.voidsetAddress(String address) Set Deprecated.voidsetConfiguration(Properties configuration) Set extended configuration specific to this notifier goes here.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) voidsetSendOnError(boolean sendOnError) Set whether to send notifications on error.voidsetSendOnFailure(boolean sendOnFailure) Set whether to send notifications on failure.voidsetSendOnSuccess(boolean sendOnSuccess) Set whether to send notifications on success.voidsetSendOnWarning(boolean sendOnWarning) Set whether to send notifications on warning.voidSet the mechanism used to deliver notifications.
- 
Constructor Details- 
Notifierpublic Notifier()
 
- 
- 
Method Details- 
addConfigurationMethod addConfiguration.- Parameters:
- key- a key object.
- value- a value object.
 
- 
cloneMethod clone.
- 
getAddressGet Deprecated. Where to send the notification to - eg email address.- Returns:
- String
 
- 
getConfigurationMethod getConfiguration.- Returns:
- Properties
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getTypeGet the mechanism used to deliver notifications.- Returns:
- String
 
- 
isSendOnErrorpublic boolean isSendOnError()Get whether to send notifications on error.- Returns:
- boolean
 
- 
isSendOnFailurepublic boolean isSendOnFailure()Get whether to send notifications on failure.- Returns:
- boolean
 
- 
isSendOnSuccesspublic boolean isSendOnSuccess()Get whether to send notifications on success.- Returns:
- boolean
 
- 
isSendOnWarningpublic boolean isSendOnWarning()Get whether to send notifications on warning.- Returns:
- boolean
 
- 
setAddressSet Deprecated. Where to send the notification to - eg email address.- Parameters:
- address- a address object.
 
- 
setConfigurationSet extended configuration specific to this notifier goes here.- Parameters:
- configuration- a configuration object.
 
- 
setSendOnErrorpublic void setSendOnError(boolean sendOnError) Set whether to send notifications on error.- Parameters:
- sendOnError- a sendOnError object.
 
- 
setSendOnFailurepublic void setSendOnFailure(boolean sendOnFailure) Set whether to send notifications on failure.- Parameters:
- sendOnFailure- a sendOnFailure object.
 
- 
setSendOnSuccesspublic void setSendOnSuccess(boolean sendOnSuccess) Set whether to send notifications on success.- Parameters:
- sendOnSuccess- a sendOnSuccess object.
 
- 
setSendOnWarningpublic void setSendOnWarning(boolean sendOnWarning) Set whether to send notifications on warning.- Parameters:
- sendOnWarning- a sendOnWarning object.
 
- 
setTypeSet the mechanism used to deliver notifications.- Parameters:
- type- a type object.
 
 
-