org.apache.maven.scm.provider.svn.svnexe.command.checkout
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
- Version:
- $Id: SvnCheckOutCommand.java 1350009 2012-06-13 20:49:42Z olamy $
- Author:
- Emmanuel Venisse, Olivier Lamy
Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
Method Summary |
static Commandline |
createCommandLine(SvnScmProviderRepository repository,
File workingDirectory,
ScmVersion version,
String url)
Create SVN check out command line in a recursive way. |
static 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)
Execute Check out command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnCheckOutCommand
public SvnCheckOutCommand()
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive)
throws ScmException
- Execute Check out command line.
- Specified by:
executeCheckOutCommand
in class AbstractCheckOutCommand
- Parameters:
repo
- not nullfileSet
- not nullversion
- not nullrecursive
- true
if recursive check out is wanted, false
otherwise.
- Returns:
- the checkout result
- Throws:
ScmException
- if any
createCommandLine
public static 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 static 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
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.