|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.xmlrpc.project.ProjectNotifier
public class ProjectNotifier
Configures one method for notifying users/developers when a build breaks.
Field Summary | |
---|---|
static int |
FROM_PROJECT
|
static int |
FROM_USER
|
Constructor Summary | |
---|---|
ProjectNotifier()
|
Method Summary | |
---|---|
void |
addConfiguration(Object key,
String value)
Method addConfiguration. |
boolean |
equals(Object other)
Method equals. |
Map |
getConfiguration()
Method getConfiguration. |
int |
getFrom()
Get the origin of the notifier (pom or user). |
int |
getId()
Get the id field. |
int |
getRecipientType()
Get the recipientType field. |
String |
getType()
Get the mechanism used to deliver notifications. |
int |
hashCode()
Method hashCode. |
boolean |
isEnabled()
Get the enabled field. |
boolean |
isFromProject()
|
boolean |
isFromUser()
|
boolean |
isSendOnError()
Get the sendOnError field. |
boolean |
isSendOnFailure()
Get the sendOnFailure field. |
boolean |
isSendOnSuccess()
Get the sendOnSuccess field. |
boolean |
isSendOnWarning()
Get the sendOnWarning field. |
void |
setConfiguration(Map configuration)
Set extended configuration specific to this notifier goes here. |
void |
setEnabled(boolean enabled)
Set the enabled field. |
void |
setFrom(int from)
Set the origin of the notifier (pom or user). |
void |
setId(int id)
Set the id field. |
void |
setRecipientType(int recipientType)
Set the recipientType field. |
void |
setSendOnError(boolean sendOnError)
Set the sendOnError field. |
void |
setSendOnFailure(boolean sendOnFailure)
Set the sendOnFailure field. |
void |
setSendOnSuccess(boolean sendOnSuccess)
Set the sendOnSuccess field. |
void |
setSendOnWarning(boolean sendOnWarning)
Set the sendOnWarning field. |
void |
setType(String type)
Set the mechanism used to deliver notifications. |
String |
toString()
Method toString. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FROM_PROJECT
public static final int FROM_USER
Constructor Detail |
---|
public ProjectNotifier()
Method Detail |
---|
public void addConfiguration(Object key, String value)
key
- value
- public boolean equals(Object other)
equals
in class Object
other
-
public Map getConfiguration()
public int getFrom()
public int getId()
public int getRecipientType()
public String getType()
public int hashCode()
hashCode
in class Object
public boolean isEnabled()
public boolean isSendOnError()
public boolean isSendOnFailure()
public boolean isSendOnSuccess()
public boolean isSendOnWarning()
public void setConfiguration(Map configuration)
configuration
- public void setEnabled(boolean enabled)
enabled
- public void setFrom(int from)
from
- public void setId(int id)
id
- public void setRecipientType(int recipientType)
recipientType
- 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
- public String toString()
toString
in class Object
public boolean isFromProject()
public boolean isFromUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |