com.atlassian.bamboo.repository.cvsimpl
Class CVSCommand

java.lang.Object
  extended by com.atlassian.bamboo.command.Command
      extended by com.atlassian.bamboo.repository.cvsimpl.CVSCommand

public abstract class CVSCommand
extends Command

Common CVS command abstraction


Field Summary
protected  java.lang.String myCvsRoot
           
protected  java.lang.String myModule
           
protected  java.lang.String myWorkingDir
           
 
Fields inherited from class com.atlassian.bamboo.command.Command
buildLoggerManager, CBD_BUILD_COMMANDLINE, substitutionBean
 
Constructor Summary
CVSCommand()
           
 
Method Summary
 java.io.File getWorkingDirectory()
          Where are is the CVS repository file?
 void setCvsRoot(java.lang.String cvsRoot)
          Whick CVS root should we use when checking out?
 void setModuleName(java.lang.String buildName)
          Define the build we should check out.
 void setWorkingDir(java.io.File workingDir)
          Define where CVS should check out the build files.
 
Methods inherited from class com.atlassian.bamboo.command.Command
decorateCommandLine, executeCommand, getBuildLoggerManager, getCommandArguments, getCommandExecutable, getCommandLine, getCustomEnvironmentVars, getEnvironmentSetting, getSubstitutedCommandLine, getVariableSubstitutionBean, isWindowsPlatform, setBuildLoggerManager, setPluginAccessor, setVariableSubstitutionBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myCvsRoot

protected java.lang.String myCvsRoot

myModule

protected java.lang.String myModule

myWorkingDir

protected java.lang.String myWorkingDir
Constructor Detail

CVSCommand

public CVSCommand()
Method Detail

setWorkingDir

public void setWorkingDir(java.io.File workingDir)
Define where CVS should check out the build files.

Parameters:
workingDir - The CVS working directory

getWorkingDirectory

public java.io.File getWorkingDirectory()
Where are is the CVS repository file?

Specified by:
getWorkingDirectory in class Command
Returns:
The location of the CVS repository files

setModuleName

public void setModuleName(java.lang.String buildName)
Define the build we should check out.

Parameters:
buildName - The name of the build

setCvsRoot

public void setCvsRoot(java.lang.String cvsRoot)
Whick CVS root should we use when checking out?

Parameters:
cvsRoot - The CVS root


Copyright © 2010 Atlassian. All Rights Reserved.