Class AbstractCheckOutCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
GitCheckOutCommand,HgCheckOutCommand,JGitCheckOutCommand,LocalCheckOutCommand,SvnCheckOutCommand
public abstract class AbstractCheckOutCommand extends AbstractCommand
- Author:
- Emmanuel Venisse, Trygve Laugstøl, Olivier Lamy
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckOutCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected CheckOutScmResultexecuteCheckOutCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion)Execute Check out command line in a recursive check out way.protected abstract CheckOutScmResultexecuteCheckOutCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean recursive, boolean shallow)Execute Check out command line.ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
AbstractCheckOutCommand
public AbstractCheckOutCommand()
-
-
Method Detail
-
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion) throws ScmException
Execute Check out command line in a recursive check out way.- Parameters:
repository- not nullfileSet- not nullscmVersion- not null- Returns:
- the checkout result
- Throws:
ScmException- if any- See Also:
executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean, boolean)
-
executeCheckOutCommand
protected abstract CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, boolean recursive, boolean shallow) throws ScmException
Execute Check out command line.- Parameters:
repository- not nullfileSet- not nullscmVersion- not nullrecursive-trueif recursive check out is wanted,falseotherwiseshallow-trueif shallow check out is wanted,falseotherwise- Returns:
- the checkout result
- Throws:
ScmException- if any- Since:
- 1.1.1
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
-