|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.EmailPublisher
net.sourceforge.cruisecontrol.publishers.LinkEmailPublisher
Concrete implementation of the EmailPublisher
abstract class. This class handles the simplest
implementation where the message body is just a link to a web page detailing the build.
Nested Class Summary |
Nested classes inherited from class net.sourceforge.cruisecontrol.publishers.EmailPublisher |
EmailPublisher.Address, EmailPublisher.Alert, EmailPublisher.Always, EmailPublisher.Failure, EmailPublisher.Ignore, EmailPublisher.Success |
Constructor Summary | |
LinkEmailPublisher()
|
Method Summary | |
protected java.lang.String |
createMessage(XMLLogHelper logHelper)
Creates the email message body. |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class net.sourceforge.cruisecontrol.publishers.EmailPublisher |
add, add, addContentToMessage, createAlert, createAlertUserList, createAlertUserSet, createAlways, createEmailString, createFailure, createIgnore, createSubject, createSuccess, createUserList, createUserSet, getBuildResultsURL, getDefaultSuffix, getEmailMapper, getFromAddress, getMailHost, getMailPort, getMailProperties, getPassword, getReturnAddress, getReturnName, getSubjectPrefix, getUsername, matchRegExpr, publish, sendMail, setBuildResultsURL, setDefaultSuffix, setFailAsImportant, setMailHost, setMailPort, setPassword, setReportSuccess, setReturnAddress, setReturnName, setSkipUsers, setSpamWhileBroken, setSubjectPrefix, setUsername, setUseSSL, shouldSend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkEmailPublisher()
Method Detail |
protected java.lang.String createMessage(XMLLogHelper logHelper)
EmailPublisher
just creates a message
that is a link to a web page with the details of the build.
createMessage
in class EmailPublisher
logHelper
- XMLLogHelper
wrapper for the build log.
String
the link that makes up the body of the email messagepublic void validate() throws CruiseControlException
Publisher
validate
in interface Publisher
validate
in class EmailPublisher
CruiseControlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |