org.apache.maven.scm.provider.git.gitexe.command.list
Class GitListCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.list.AbstractListCommand
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
Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitListCommand
public GitListCommand()
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 listfileSet
- the files to listrecursive
- 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.