|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.JabberPublisher
Abstract publisher which establishes this transport to publish build results via Jabber Instant Messaging framework.
LinkJabberPublisher
,
Serialized FormConstructor Summary | |
JabberPublisher()
|
Method Summary | |
protected abstract java.lang.String |
createMessage(XMLLogHelper logHelper)
Creates the IM message body to be sent to the recipient. |
protected void |
init()
Initialize the XMPPConnection to the Jabber server and create the necessary chat session to send a message. |
void |
publish(org.jdom.Element cruisecontrolLog)
Publish the results to the Jabber transport via an instant message. |
void |
setChatroom(boolean chatroom)
|
void |
setHost(java.lang.String host)
|
void |
setPassword(java.lang.String password)
|
void |
setPort(int port)
|
void |
setRecipient(java.lang.String recipient)
|
void |
setService(java.lang.String service)
|
void |
setSsl(boolean ssl)
|
void |
setUsername(java.lang.String username)
|
void |
validate()
Validate that all the mandatory parameters were specified in order to properly initial the Jabber client service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JabberPublisher()
Method Detail |
public void setHost(java.lang.String host)
public void setPort(int port)
public void setUsername(java.lang.String username)
public void setPassword(java.lang.String password)
public void setRecipient(java.lang.String recipient)
public void setService(java.lang.String service)
public void setChatroom(boolean chatroom)
public void setSsl(boolean ssl)
protected void init()
public 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
-
CruiseControlException
protected abstract java.lang.String createMessage(XMLLogHelper logHelper) throws CruiseControlException
String
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 |