org.apache.maven.scm.provider.git.gitexe.command.list
Class GitListCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.list.AbstractListCommand
          extended by org.apache.maven.scm.provider.git.gitexe.command.list.GitListCommand
All Implemented Interfaces:
Command, GitCommand

public class GitListCommand
extends AbstractListCommand
implements GitCommand

Version:
$Id: GitListCommand.java 823147 2009-10-08 12:39:23Z struberg $
Author:
Mark Struberg

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
GitListCommand()
           
 
Method Summary
static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory)
           
protected  ListScmResult executeListCommand(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion)
          List contents of the remote repository
 
Methods inherited from class org.apache.maven.scm.command.list.AbstractListCommand
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

GitListCommand

public GitListCommand()
Method Detail

executeListCommand

protected ListScmResult executeListCommand(ScmProviderRepository repo,
                                           ScmFileSet fileSet,
                                           boolean recursive,
                                           ScmVersion scmVersion)
                                    throws ScmException
List contents of the remote repository

Specified by:
executeListCommand in class AbstractListCommand
Parameters:
repo - what to list
fileSet - the files to list
recursive - whether list should return subfolder listing
Returns:
the list of files
Throws:
ScmException

createCommandLine

public static Commandline createCommandLine(GitScmProviderRepository repository,
                                            File workingDirectory)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.