Class SvnCheckOutCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
-
- org.apache.maven.scm.provider.svn.svnexe.command.checkout.SvnCheckOutCommand
-
- All Implemented Interfaces:
Command
,SvnCommand
public class SvnCheckOutCommand extends AbstractCheckOutCommand implements SvnCommand
- Author:
- Emmanuel Venisse, Olivier Lamy
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description SvnCheckOutCommand(boolean interactive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.codehaus.plexus.util.cli.Commandline
createCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url)
Create SVN check out command line in a recursive way.org.codehaus.plexus.util.cli.Commandline
createCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url, boolean recursive)
Create SVN check out command line.protected CheckOutScmResult
executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow)
Execute Check out command line.-
Methods inherited from class org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
executeCheckOutCommand, executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
SvnCheckOutCommand
public SvnCheckOutCommand(boolean interactive)
-
-
Method Detail
-
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException
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
otherwiseshallow
-true
if shallow check out is wanted,false
otherwise- Returns:
- the checkout result
- Throws:
ScmException
- if any
-
createCommandLine
public org.codehaus.plexus.util.cli.Commandline createCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url)
Create SVN check out command line in a recursive way.- Parameters:
repository
- not nullworkingDirectory
- not nullversion
- not nullurl
- not null- Returns:
- the SVN command line for the SVN check out
- See Also:
createCommandLine(SvnScmProviderRepository, File, ScmVersion, String, boolean)
-
createCommandLine
public org.codehaus.plexus.util.cli.Commandline createCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url, boolean recursive)
Create SVN check out command line.- Parameters:
repository
- not nullworkingDirectory
- not nullversion
- not nullurl
- not nullrecursive
-true
if recursive check out is wanted,false
otherwise- Returns:
- the SVN command line for the SVN check out
- Since:
- 1.1.1
-
-