Class AbstractCvsCheckOutCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
-
- org.apache.maven.scm.provider.cvslib.command.checkout.AbstractCvsCheckOutCommand
-
- All Implemented Interfaces:
Command
,CvsCommand
- Direct Known Subclasses:
CvsExeCheckOutCommand
,CvsJavaCheckOutCommand
public abstract class AbstractCvsCheckOutCommand extends AbstractCheckOutCommand implements CvsCommand
- Author:
- Emmanuel Venisse , Trygve Laugstøl
-
-
Constructor Summary
Constructors Constructor Description AbstractCvsCheckOutCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected CheckOutScmResult
executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow)
The overridenexecuteCommand(ScmProviderRepository, ScmFileSet, CommandParameters)
in this class will not call this method!ScmResult
executeCommand(ScmProviderRepository repo, ScmFileSet fileSet, CommandParameters parameters)
protected abstract CheckOutScmResult
executeCvsCommand(org.codehaus.plexus.util.cli.Commandline cl)
-
Methods inherited from class org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
executeCheckOutCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException
The overridenexecuteCommand(ScmProviderRepository, ScmFileSet, CommandParameters)
in this class will not call this method!Execute Check out command line.
- Specified by:
executeCheckOutCommand
in classAbstractCheckOutCommand
- Parameters:
repo
- not nullfileSet
- not nullversion
- not nullrecursive
-true
if recursive check out is wanted,false
otherwise.shallow
-true
if shallow check out is wanted,false
otherwise.- Returns:
- the checkout result
- Throws:
ScmException
- if any
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repo, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
Description copied from class:AbstractCheckOutCommand
- Overrides:
executeCommand
in classAbstractCheckOutCommand
- Throws:
ScmException
-
executeCvsCommand
protected abstract CheckOutScmResult executeCvsCommand(org.codehaus.plexus.util.cli.Commandline cl) throws ScmException
- Throws:
ScmException
-
-