|
||||||||||
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()
Executes the command |
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 GitAPIException
GitCommand
call
in interface java.util.concurrent.Callable<java.util.List<java.lang.String>>
call
in class GitCommand<java.util.List<java.lang.String>>
GitAPIException
- or subclass thereof when an error occurspublic 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 |