public class DeleteTagCommand extends GitCommand<List<String>>
call() is a list with the (full) names of the deleted
tags.repo| Modifier | Constructor and Description |
|---|---|
protected |
DeleteTagCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
call() |
DeleteTagCommand |
setTags(String... tags) |
checkCallable, getRepository, setCallableprotected DeleteTagCommand(Repository repo)
repo - public List<String> call() throws JGitInternalException
JGitInternalException - when trying to delete a tag that doesn't existpublic DeleteTagCommand setTags(String... tags)
tags - the names of the tags to delete; if not set, this will do
nothing; invalid tag names will simply be ignoredCopyright © 2012. All Rights Reserved.