|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.PlasticSCMBootstrapper
Simply updates the current workspace. Accepts specify branch/repository for the update operation. Do the update forced is an option (false by default).
Constructor Summary | |
PlasticSCMBootstrapper()
|
Method Summary | |
void |
bootstrap()
Update the workspace. |
protected Commandline |
buildSwitchToBranchCommand()
Build the Plastic SCM switchtobranch command. |
protected Commandline |
buildUpdateCommand()
Build the Plastic SCM update command. |
void |
setBranch(java.lang.String branch)
Selects a branch |
void |
setForced(boolean forced)
Enables/disables the forced update |
void |
setPathtoupdate(java.lang.String pathtoupdate)
|
void |
setRepository(java.lang.String repository)
Selects a repository |
void |
setWkspath(java.lang.String wkspath)
Selects a workspace |
void |
validate()
Validate the attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlasticSCMBootstrapper()
Method Detail |
public void setWkspath(java.lang.String wkspath)
wkspath
- the path of the workspace to work in, in the local filesystempublic void setBranch(java.lang.String branch)
branch
- the branch from which to get the source.public void setRepository(java.lang.String repository)
repository
- the repository from which to get the sourcepublic void setPathtoupdate(java.lang.String pathtoupdate)
public void setForced(boolean forced)
forced
- if true, "cm update" is run whith the "--forced" optionpublic void bootstrap() throws CruiseControlException
bootstrap
in interface Bootstrapper
CruiseControlException
- if bootstrap failspublic void validate() throws CruiseControlException
validate
in interface Bootstrapper
CruiseControlException
- if there was a configuration error.protected Commandline buildUpdateCommand() throws CruiseControlException
CruiseControlException
protected Commandline buildSwitchToBranchCommand() throws CruiseControlException
CruiseControlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |