org.apache.maven.model
Class Notifier

java.lang.Object
  extended byorg.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 Where to send the notification to - eg email address.
 java.util.Properties getConfiguration()
          Method getConfiguration
 java.lang.String getModelEncoding()
           
 java.lang.String getType()
          Get The mechanism used to deliver notifications.
 boolean isSendOnError()
          Get Send notification on error.
 boolean isSendOnFailure()
          Get Send notification on failure.
 boolean isSendOnSuccess()
          Get Send notification on success.
 boolean isSendOnWarning()
          Get Send notification on warning.
 void setAddress(java.lang.String address)
          Set Where to send the notification to - eg email address.
 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 Send notification on error.
 void setSendOnFailure(boolean sendOnFailure)
          Set Send notification on failure.
 void setSendOnSuccess(boolean sendOnSuccess)
          Set Send notification on success.
 void setSendOnWarning(boolean sendOnWarning)
          Set Send notification 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 Where to send the notification to - eg email address. DEPRECATED.


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 Send notification on error.


isSendOnFailure

public boolean isSendOnFailure()
Get Send notification on failure.


isSendOnSuccess

public boolean isSendOnSuccess()
Get Send notification on success.


isSendOnWarning

public boolean isSendOnWarning()
Get Send notification on warning.


setAddress

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

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 Send notification on error.

Parameters:
sendOnError -

setSendOnFailure

public void setSendOnFailure(boolean sendOnFailure)
Set Send notification on failure.

Parameters:
sendOnFailure -

setSendOnSuccess

public void setSendOnSuccess(boolean sendOnSuccess)
Set Send notification on success.

Parameters:
sendOnSuccess -

setSendOnWarning

public void setSendOnWarning(boolean sendOnWarning)
Set Send notification 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 2006 Apache Software Foundation. All Rights Reserved.