|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.CMSynergyBootstrapper
The CMSynergyBootstrapper will reconfigure the project (and by default all subprojects) in order to pull in the latest changes.
If you do not wish to reconfigure subprojects, please set the recurse attribute to false.
Constructor Summary | |
CMSynergyBootstrapper()
|
Method Summary | |
void |
bootstrap()
Perform the bootstrapping. |
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 you wish to reconfigure |
void |
setRecurse(boolean recurse)
Sets the value of the recurse attribute. |
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. |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMSynergyBootstrapper()
Method Detail |
public void setCcmExe(java.lang.String ccmExe)
ccmExe
- the name of the CM Synergy executablepublic void setProject(java.lang.String projectSpec)
projectSpec
- The project spec (in 2 part name format).public void setRecurse(boolean recurse)
recurse
- public void setSessionFile(java.lang.String sessionFile)
example:
session1=localhost:65024:192.168.1.17
sessionFile
- The session filepublic void setSessionName(java.lang.String sessionName)
sessionName
- The session namesetSessionFile(String)
public void bootstrap() throws CruiseControlException
Bootstrapper
bootstrap
in interface Bootstrapper
CruiseControlException
- if bootstrap failspublic void validate() throws CruiseControlException
Bootstrapper
validate
in interface Bootstrapper
CruiseControlException
- if there was a configuration error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |