public class DeleteTagCommand extends GitCommand<java.util.List<java.lang.String>>
call() is a list with the (full) names of the deleted
tags.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
tags |
repo| Modifier | Constructor and Description |
|---|---|
protected |
DeleteTagCommand(Repository repo)
Constructor for DeleteTagCommand
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
call() |
DeleteTagCommand |
setTags(java.lang.String... tags)
Set names of the tags to delete
|
checkCallable, getRepository, setCallableprotected DeleteTagCommand(Repository repo)
repo - the Repositorypublic java.util.List<java.lang.String> call()
throws GitAPIException
Execute the command
call in interface java.util.concurrent.Callable<java.util.List<java.lang.String>>call in class GitCommand<java.util.List<java.lang.String>>GitAPIExceptionpublic 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