org.eclipse.jgit.api
Class StashListCommand
java.lang.Object
org.eclipse.jgit.api.GitCommand<Collection<RevCommit>>
org.eclipse.jgit.api.StashListCommand
- All Implemented Interfaces:
- Callable<Collection<RevCommit>>
public class StashListCommand
- extends GitCommand<Collection<RevCommit>>
Command class to list the stashed commits in a repository.
- See Also:
- Git documentation about Stash
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StashListCommand
public StashListCommand(Repository repo)
- Create a new stash list command
- Parameters:
repo
-
call
public Collection<RevCommit> call()
throws GitAPIException,
InvalidRefNameException
- Description copied from class:
GitCommand
- Executes the command
- Specified by:
call
in interface Callable<Collection<RevCommit>>
- Specified by:
call
in class GitCommand<Collection<RevCommit>>
- Returns:
- T a result. Each command has its own return type
- Throws:
GitAPIException
- or subclass thereof when an error occurs
InvalidRefNameException
Copyright © 2012. All Rights Reserved.