|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper
public class SVNBootstrapper
The SVNBootstrapper will handle updating a single file from Subversion before the build begins.
| Constructor Summary | |
|---|---|
SVNBootstrapper()
|
|
| Method Summary | |
|---|---|
void |
bootstrap()
Update the specified file from the subversion repository. |
void |
setFile(java.lang.String fileName)
|
void |
setLocalWorkingCopy(java.lang.String localWorkingCopy)
Sets the local working copy to use when making calls to Subversion. |
void |
setPassword(java.lang.String password)
|
void |
setUsername(java.lang.String userName)
|
void |
validate()
This method validates that at least the filename or the local working copy location has been specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVNBootstrapper()
| Method Detail |
|---|
public void setFile(java.lang.String fileName)
fileName - the file to update from the Subversion repository.public void setLocalWorkingCopy(java.lang.String localWorkingCopy)
localWorkingCopy - String indicating the relative or absolute path to the local working copy of the Subversion repository
on which to execute the update command.public void setUsername(java.lang.String userName)
userName - the username for authentication.public void setPassword(java.lang.String password)
password - the password for authentication.
public void validate()
throws CruiseControlException
validate in interface BootstrapperCruiseControlException - Thrown when the repository location and the local working copy location are both null
public void bootstrap()
throws CruiseControlException
bootstrap in interface BootstrapperCruiseControlException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||