All Implemented Interfaces:
Command, SvnCommand

public class SvnCheckOutCommand extends AbstractCheckOutCommand implements SvnCommand
  • 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:
      executeCheckOutCommand in class AbstractCheckOutCommand
      Parameters:
      repo - not null
      fileSet - not null
      version - not null
      recursive - 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, File workingDirectory, ScmVersion version, 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

      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 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