|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.AllFusionHarvestBootstrapper
BootStrapper for CA's AllFusion Harvest Change Manager. This BootStrapper class is used to connect to Harvest to retrieve files before the build is started. It has a number of properties which must be set in order to connect to Harvest. It also provides a mechanism to pipe Harvest errors through into the CruiseControl log.
| Nested Class Summary | |
class |
AllFusionHarvestBootstrapper.MyLogStreamListener
Simple LogStream Listener class which interprets the message serverity level of Harvest messages and reports them to the CruiseControl log. |
| Constructor Summary | |
AllFusionHarvestBootstrapper()
Default constructor. |
|
| Method Summary | |
void |
bootstrap()
Update the specified file. |
protected boolean |
login()
Internal method which connects to Harvest using the details provided. |
protected void |
logout()
Internal method which disconnects from Harvest. |
void |
setBroker(java.lang.String broker)
Sets the Harvest Broker for all calls to HSDK. |
void |
setClientpath(java.lang.String clientPath)
Sets the client path to use when making calls to HSDK. |
void |
setFile(java.lang.String filename)
Sets the filename to update. |
void |
setPassword(java.lang.String password)
Sets the Harvest password for all calls to HSDK. |
void |
setProcess(java.lang.String process)
Sets the name of the process to use when making calls to HSDK. |
void |
setProject(java.lang.String project)
Sets the Harvest project for all calls to HSDK. |
void |
setState(java.lang.String state)
Sets the Harvest state for all calls to HSDK. |
void |
setUsername(java.lang.String username)
Sets the Harvest username for all calls to HSDK. |
void |
setViewpath(java.lang.String viewPath)
Sets the view path to use when making calls to HSDK. |
void |
validate()
Standard Bootstrapper validation method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllFusionHarvestBootstrapper()
| Method Detail |
public void setBroker(java.lang.String broker)
broker - Harvest Broker to use.public void setUsername(java.lang.String username)
username - Harvest username to use.public void setPassword(java.lang.String password)
password - Harvest password to use.public void setProject(java.lang.String project)
project - Harvest project to use.public void setState(java.lang.String state)
state - Harvest state to use.public void setProcess(java.lang.String process)
process - String indicating the process name.public void setViewpath(java.lang.String viewPath)
viewPath - String indicating the view path.public void setClientpath(java.lang.String clientPath)
clientPath - String indicating the client path.public void setFile(java.lang.String filename)
filename - String indicating the filename.protected boolean login()
protected void logout()
public void validate()
throws CruiseControlException
validate in interface BootstrapperCruiseControlException - if there was a configuration error.public void bootstrap()
bootstrap in interface Bootstrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||