- 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 protectedListTagCommand(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- aRepositoryobject.
-
-
Method Detail
-
call
public List<Ref> call() throws GitAPIException
Execute the command
- Specified by:
callin interfaceCallable<List<Ref>>- Specified by:
callin classGitCommand<List<Ref>>- Throws:
GitAPIException
-
-