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
-
Field Summary
FieldsFields inherited from class AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.util.cli.CommandlinecreateCommandLine(SvnScmProviderRepository repository, File workingDirectory, ScmVersion version, String url) Create SVN check out command line in a recursive way.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 AbstractCheckOutCommand
executeCheckOutCommand, executeCommandMethods inherited from class AbstractCommand
execute
-
Field Details
-
interactive
private final boolean interactive
-
-
Constructor Details
-
SvnCheckOutCommand
public SvnCheckOutCommand(boolean interactive)
-
-
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,falseotherwiseshallow-trueif shallow check out is wanted,falseotherwise- 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
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-trueif recursive check out is wanted,falseotherwise- Returns:
- the SVN command line for the SVN check out
- Since:
- 1.1.1
-