public class DeleteTagCommand extends GitCommand<List<String>>
call()
is a list with the (full) names of the deleted
tags.repo
Modifier | Constructor | Description |
---|---|---|
protected |
DeleteTagCommand(Repository repo) |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
call() |
Executes the command
|
DeleteTagCommand |
setTags(String... tags) |
checkCallable, getRepository, setCallable
protected DeleteTagCommand(Repository repo)
repo
- public List<String> call() throws GitAPIException
GitCommand
call
in interface Callable<List<String>>
call
in class GitCommand<List<String>>
GitAPIException
- or subclass thereof when an error occurspublic 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. All rights reserved.