Package org.eclipse.jgit.api
Class ListTagCommand
- java.lang.Object
-
- org.eclipse.jgit.api.GitCommand<List<Ref>>
-
- org.eclipse.jgit.api.ListTagCommand
-
public class ListTagCommand extends GitCommand<List<Ref>>
Used to obtain a list of tags.- See Also:
- Git documentation about Tag
-
-
Field Summary
-
Fields inherited from class org.eclipse.jgit.api.GitCommand
repo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListTagCommand(Repository repo)
Constructor for ListTagCommand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Ref>
call()
-
Methods inherited from class org.eclipse.jgit.api.GitCommand
checkCallable, getRepository, setCallable
-
-
-
-
Constructor Detail
-
ListTagCommand
protected ListTagCommand(Repository repo)
Constructor for ListTagCommand.- Parameters:
repo
- aRepository
object.
-
-
Method Detail
-
call
public List<Ref> call() throws GitAPIException
Execute the command
- Specified by:
call
in interfaceCallable<List<Ref>>
- Specified by:
call
in classGitCommand<List<Ref>>
- Throws:
GitAPIException
-
-