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
- Author:
- Emmanuel Venisse, Trygve Laugstøl, Olivier Lamy
-
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
AbstractCheckOutCommand
public AbstractCheckOutCommand()
-
-
Method Details
-
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
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,falseotherwise.shallow-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
-