Package org.eclipse.jgit.api
Class DeleteTagCommand
Used to delete one or several tags.
The result of
call() is a list with the (full) names of the deleted
tags.- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.api.GitCommand
repo -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeleteTagCommand(Repository repo) Constructor for DeleteTagCommand -
Method Summary
Methods inherited from class org.eclipse.jgit.api.GitCommand
checkCallable, getRepository, setCallable
-
Field Details
-
tags
-
-
Constructor Details
-
DeleteTagCommand
Constructor for DeleteTagCommand- Parameters:
repo- theRepository
-
-
Method Details
-
call
Execute the command
- Specified by:
callin interfaceCallable<List<String>>- Specified by:
callin classGitCommand<List<String>>- Throws:
GitAPIException
-
setTags
Set names of the tags to delete- Parameters:
tags- the names of the tags to delete; if not set, this will do nothing; invalid tag names will simply be ignored- Returns:
- this instance
-