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
- Author:
- Emmanuel Venisse, Olivier Lamy
-
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url) Create SVN check out command line in a recursive way.static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url, boolean recursive) Create SVN check out command line.protected CheckOutScmResultexecuteCheckOutCommand(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, executeCommandMethods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
SvnCheckOutCommand
public SvnCheckOutCommand()
-
-
Method Details
-
executeCheckOutCommand
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException Execute Check out command line.- Specified by:
executeCheckOutCommandin classAbstractCheckOutCommand- Parameters:
repo- not nullfileSet- not nullversion- not nullrecursive-trueif recursive check out is wanted,falseotherwise.shallow-trueif shallow check out is wanted,falseotherwise.- Returns:
- the checkout result
- Throws:
ScmException- if any
-
createCommandLine
public static 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
public static 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-trueif recursive check out is wanted,falseotherwise.- Returns:
- the SVN command line for the SVN check out.
- Since:
- 1.1.1
-