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, setCallable
protected DeleteTagCommand(Repository repo)
repo
- the Repository
public List<String> call() throws GitAPIException
Execute the command
call
in interface Callable<List<String>>
call
in class GitCommand<List<String>>
GitAPIException
public 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 © 2020 Eclipse JGit Project. All rights reserved.