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
-
-
Constructor Summary
Constructors Constructor Description SvnCheckOutCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.Commandline
createCommandLine(SvnScmProviderRepository repository, java.io.File workingDirectory, ScmVersion version, java.lang.String url)
Create SVN check out command line in a recursive way.static org.codehaus.plexus.util.cli.Commandline
createCommandLine(SvnScmProviderRepository repository, java.io.File workingDirectory, ScmVersion version, java.lang.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, getLogger, setLogger
-
-
-
-
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
otherwise.shallow
-true
if shallow check out is wanted,false
otherwise.- Returns:
- the checkout result
- Throws:
ScmException
- if any
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(SvnScmProviderRepository repository, java.io.File workingDirectory, ScmVersion version, java.lang.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 static org.codehaus.plexus.util.cli.Commandline createCommandLine(SvnScmProviderRepository repository, java.io.File workingDirectory, ScmVersion version, java.lang.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
-
-