org.eclipse.jgit.api
Class StashListCommand

java.lang.Object
  extended by org.eclipse.jgit.api.GitCommand<java.util.Collection<RevCommit>>
      extended by org.eclipse.jgit.api.StashListCommand
All Implemented Interfaces:
java.util.concurrent.Callable<java.util.Collection<RevCommit>>

public class StashListCommand
extends GitCommand<java.util.Collection<RevCommit>>

Command class to list the stashed commits in a repository.

See Also:
Git documentation about Stash

Field Summary
 
Fields inherited from class org.eclipse.jgit.api.GitCommand
repo
 
Constructor Summary
StashListCommand(Repository repo)
          Create a new stash list command
 
Method Summary
 java.util.Collection<RevCommit> call()
           
 
Methods inherited from class org.eclipse.jgit.api.GitCommand
checkCallable, getRepository, setCallable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StashListCommand

public StashListCommand(Repository repo)
Create a new stash list command

Parameters:
repo -
Method Detail

call

public java.util.Collection<RevCommit> call()
                                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012. All Rights Reserved.