|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.api.GitCommand<ObjectId>
org.eclipse.jgit.api.StashDropCommand
public class StashDropCommand
Command class to delete a stashed commit reference
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.api.GitCommand |
|---|
repo |
| Constructor Summary | |
|---|---|
StashDropCommand(Repository repo)
|
|
| Method Summary | |
|---|---|
ObjectId |
call()
Drop the configured entry from the stash reflog and return value of the stash reference after the drop occurs |
StashDropCommand |
setAll(boolean all)
Set wheter drop all stashed commits |
StashDropCommand |
setStashRef(int stashRef)
Set the stash reference to drop (0-based). |
| 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 |
|---|
public StashDropCommand(Repository repo)
repo - | Method Detail |
|---|
public StashDropCommand setStashRef(int stashRef)
This will default to drop the latest stashed commit (stash@{0}) if unspecified
stashRef -
thispublic StashDropCommand setAll(boolean all)
all - true to drop all stashed commits, false to drop only the
stashed commit set via calling setStashRef(int)
this
public ObjectId call()
throws GitAPIException
call in interface java.util.concurrent.Callable<ObjectId>call in class GitCommand<ObjectId>GitAPIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||