net.sourceforge.cruisecontrol.bootstrappers
Class VssBootstrapper

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.bootstrappers.VssBootstrapper
All Implemented Interfaces:
Bootstrapper, java.io.Serializable

public class VssBootstrapper
extends java.lang.Object
implements Bootstrapper

See Also:
Serialized Form

Constructor Summary
VssBootstrapper()
           
 
Method Summary
 void bootstrap()
          Perform the bootstrapping.
 void setLocalDirectory(java.lang.String localDirectory)
          Required.
 void setLogin(java.lang.String login)
          Optional.
 void setServerPath(java.lang.String serverPath)
          Optional.
 void setSsDir(java.lang.String ssDir)
          Optional.
 void setVssPath(java.lang.String vssPath)
          Required.
 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

VssBootstrapper

public VssBootstrapper()
Method Detail

bootstrap

public void bootstrap()
               throws CruiseControlException
Description copied from interface: Bootstrapper
Perform the bootstrapping.

Specified by:
bootstrap in interface Bootstrapper
Throws:
CruiseControlException - if bootstrap fails

validate

public void validate()
              throws CruiseControlException
Description copied from interface: Bootstrapper
Called after the configuration is read to make sure that all the mandatory parameters were specified..

Specified by:
validate in interface Bootstrapper
Throws:
CruiseControlException - if there was a configuration error.

setVssPath

public void setVssPath(java.lang.String vssPath)
Required.

Parameters:
vssPath - fully qualified VSS path to the file ($/Project/subproject/filename.ext)

setSsDir

public void setSsDir(java.lang.String ssDir)
Optional.

Parameters:
ssDir - Path to the directory containing ss.exe. Assumes that ss.exe is in the path by default.

setServerPath

public void setServerPath(java.lang.String serverPath)
Optional.

Parameters:
serverPath - The path to the directory containing the srcsafe.ini file.

setLocalDirectory

public void setLocalDirectory(java.lang.String localDirectory)
Required.

Parameters:
localDirectory - fully qualified path for the destination directory (c:\directory\subdirectory\)

setLogin

public void setLogin(java.lang.String login)
Optional.

Parameters:
login - vss login information in the form username,password\