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)
Constructor for DeleteTagCommand
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
call() |
DeleteTagCommand |
setTags(String... tags)
Set names of the tags to delete
|
checkCallable, getRepository, setCallableprotected DeleteTagCommand(Repository repo)
repo - the Repositorypublic List<String> call() throws GitAPIException
Execute the command
call in interface Callable<List<String>>call in class GitCommand<List<String>>GitAPIExceptionpublic 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 © 2018 Eclipse JGit Project. All rights reserved.