|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.YahooPublisher
Publisher which establishes this transport to publish build results via Yahoo Instant Messaging framework. Parameters are: username - required - YahooId (should not be an eMail address) password - required - Password for YahooId recipient - required - YahooId (no eMail, please), to which the message should be send buildResultsURL - required - You know... proxyHost - not required - since we are using HTTP connection, a HTTP Proxy proxyPort - not required - the port for the HTTP Proxy
Constructor Summary | |
YahooPublisher()
|
Method Summary | |
boolean |
connect()
connect to the server and set necessary info. |
protected java.lang.String |
createMessage(XMLLogHelper logHelper)
Creates the IM message body. |
void |
publish(org.jdom.Element cruisecontrolLog)
Publish the results to the Yahoo transport via an instant message. |
void |
setBuildResultsURL(java.lang.String buildResultsURL)
|
void |
setPassword(java.lang.String password)
|
void |
setProxyHost(java.lang.String pProxyHost)
Setter for proxyHost |
void |
setProxyPort(java.lang.String pProxyPort)
Setter for proxyPort |
void |
setRecipient(java.lang.String recipient)
|
void |
setUsername(java.lang.String username)
|
void |
validate()
Validate that all the mandatory parameters were specified in order to properly initial the Yahoo client service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public YahooPublisher()
Method Detail |
public void setUsername(java.lang.String username)
public void setPassword(java.lang.String password)
public void setRecipient(java.lang.String recipient)
public void setBuildResultsURL(java.lang.String buildResultsURL)
public void setProxyHost(java.lang.String pProxyHost)
pProxyHost
- proxyHostpublic void setProxyPort(java.lang.String pProxyPort)
pProxyPort
- proxyPortpublic void validate() throws CruiseControlException
validate
in interface Publisher
CruiseControlException
- if there was a configuration error.public void publish(org.jdom.Element cruisecontrolLog) throws CruiseControlException
publish
in interface Publisher
cruisecontrolLog
- JDOM Element representation of the main cruisecontrol build log
CruiseControlException
public boolean connect()
protected java.lang.String createMessage(XMLLogHelper logHelper) throws CruiseControlException
String
the link that makes up the body of the IM
message
CruiseControlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |