org.apache.maven.model
Class Notifier

java.lang.Object
  extended by org.apache.maven.model.Notifier
All Implemented Interfaces:
java.io.Serializable

public class Notifier
extends java.lang.Object
implements java.io.Serializable

Configures one method for notifying users/developers when a build breaks.

Version:
$Revision$ $Date$
See Also:
Serialized Form

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 getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
           
 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
 

Constructor Detail

Notifier

public Notifier()
Method Detail

addConfiguration

public void addConfiguration(java.lang.String key,
                             java.lang.String value)
Method addConfiguration

Parameters:
key -
value -

getAddress

public java.lang.String getAddress()
Get Deprecated. Where to send the notification to - eg email address.


getConfiguration

public java.util.Properties getConfiguration()
Method getConfiguration


getType

public java.lang.String getType()
Get The mechanism used to deliver notifications.


isSendOnError

public boolean isSendOnError()
Get Whether to send notifications on error.


isSendOnFailure

public boolean isSendOnFailure()
Get Whether to send notifications on failure.


isSendOnSuccess

public boolean isSendOnSuccess()
Get Whether to send notifications on success.


isSendOnWarning

public boolean isSendOnWarning()
Get Whether to send notifications on warning.


setAddress

public void setAddress(java.lang.String address)
Set Deprecated. Where to send the notification to - eg email address.

Parameters:
address -

setConfiguration

public void setConfiguration(java.util.Properties configuration)
Set Extended configuration specific to this notifier goes here.

Parameters:
configuration -

setSendOnError

public void setSendOnError(boolean sendOnError)
Set Whether to send notifications on error.

Parameters:
sendOnError -

setSendOnFailure

public void setSendOnFailure(boolean sendOnFailure)
Set Whether to send notifications on failure.

Parameters:
sendOnFailure -

setSendOnSuccess

public void setSendOnSuccess(boolean sendOnSuccess)
Set Whether to send notifications on success.

Parameters:
sendOnSuccess -

setSendOnWarning

public void setSendOnWarning(boolean sendOnWarning)
Set Whether to send notifications on warning.

Parameters:
sendOnWarning -

setType

public void setType(java.lang.String type)
Set The mechanism used to deliver notifications.

Parameters:
type -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.