org.apache.maven.scm.provider.svn.svnexe.command.checkout
Class SvnCheckOutCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.checkout.AbstractCheckOutCommand
          extended by 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 691810 2008-09-03 22:38:28Z vsiveton $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
SvnCheckOutCommand()
           
 
Method Summary
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)
          
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.scm.command.Command
execute, getLogger, setLogger
 

Constructor Detail

SvnCheckOutCommand

public SvnCheckOutCommand()
Method Detail

executeCheckOutCommand

protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo,
                                                   ScmFileSet fileSet,
                                                   ScmVersion version,
                                                   boolean recursive)
                                            throws ScmException

Specified by:
executeCheckOutCommand in class AbstractCheckOutCommand
Throws:
ScmException

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 null
workingDirectory - not null
version - not null
url - 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 null
workingDirectory - not null
version - not null
url - not null
recursive - 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-2011 Apache Software Foundation. All Rights Reserved.