|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.api.GitCommand<java.util.List<java.lang.String>>
org.eclipse.jgit.api.DeleteTagCommand
public class DeleteTagCommand
Used to delete one or several tags.
The result of call() is a list with the (full) names of the deleted
tags.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.api.GitCommand |
|---|
repo |
| Constructor Summary | |
|---|---|
protected |
DeleteTagCommand(Repository repo)
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
call()
|
DeleteTagCommand |
setTags(java.lang.String... tags)
|
| 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 |
|---|
protected DeleteTagCommand(Repository repo)
repo - | Method Detail |
|---|
public java.util.List<java.lang.String> call()
throws JGitInternalException
JGitInternalException - when trying to delete a tag that doesn't existpublic DeleteTagCommand setTags(java.lang.String... tags)
tags - the names of the tags to delete; if not set, this will do
nothing; invalid tag names will simply be ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||