Class AbstractCheckOutCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
- All Implemented Interfaces:
Command
- 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 CheckOutScmResult
executeCheckOutCommand
(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion) Execute Check out command line in a recursive check out way.protected abstract CheckOutScmResult
executeCheckOutCommand
(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
-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- Since:
- 1.1.1
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
executeCommand
in classAbstractCommand
- Throws:
ScmException
-