|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.CMSynergyPublisher
Provides an abstract base class to handle the functionality common to all CM Synergy publishers.
Constructor Summary | |
CMSynergyPublisher()
|
Method Summary | |
java.util.Properties |
getBuildProperties(org.jdom.Element log)
Extracts the build properties from the Cruise Control log |
java.lang.String |
getCcmExe()
Gets the full path of the ccm command line executable. |
java.util.List |
getNewTasks(org.jdom.Element log)
Extract a list of CM Synergy modifications from the Cruise Control log |
java.lang.String |
getProject()
Gets the CM Synergy project to be used with this publisher. |
java.io.File |
getSessionFile()
Returns the session file which maps CM Synergy session names to CM Synergy session IDs. |
java.lang.String |
getSessionName()
Returns the name of the CM Synergy session used with this publisher. |
void |
setCcmExe(java.lang.String ccmExe)
Sets the name of the CM Synergy executable to use when issuing commands. |
void |
setProject(java.lang.String projectSpec)
Sets the CM Synergy project to be used with this publisher. |
void |
setSessionFile(java.lang.String sessionFile)
Sets the file which contains the mapping between CM Synergy session names and IDs. |
void |
setSessionName(java.lang.String sessionName)
Sets the name of the CM Synergy session to use with this plugin. |
boolean |
shouldPublish(org.jdom.Element log)
Determines if the publish should take place. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.cruisecontrol.Publisher |
publish, validate |
Constructor Detail |
public CMSynergyPublisher()
Method Detail |
public void setSessionFile(java.lang.String sessionFile)
example:
session1=localhost:65024:192.168.1.17
sessionFile
- The session filepublic java.io.File getSessionFile()
public void setSessionName(java.lang.String sessionName)
sessionName
- The session namesetSessionFile(String)
public java.lang.String getSessionName()
public void setProject(java.lang.String projectSpec)
projectSpec
- The project spec (in 2 part name format).public java.lang.String getProject()
null
if it was not set.public void setCcmExe(java.lang.String ccmExe)
ccmExe
- the name of the CM Synergy executablepublic java.lang.String getCcmExe()
null
if it was not set.public java.util.Properties getBuildProperties(org.jdom.Element log)
log
- The log
public java.util.List getNewTasks(org.jdom.Element log)
log
- The Cruise Control log (as a JDOM element).
List
of new CM Synergy taskspublic boolean shouldPublish(org.jdom.Element log)
log
- The Cruise Control log (as a JDOM element).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |