Class ListTagCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.util.List<Ref>>

    public class ListTagCommand
    extends GitCommand<java.util.List<Ref>>
    Used to obtain a list of tags.
    See Also:
    Git documentation about Tag
    • Constructor Detail

      • ListTagCommand

        protected ListTagCommand​(Repository repo)
        Parameters:
        repo -
    • Method Detail

      • call

        public java.util.List<Ref> call()
                                 throws GitAPIException
        Description copied from class: GitCommand
        Executes the command
        Specified by:
        call in interface java.util.concurrent.Callable<java.util.List<Ref>>
        Specified by:
        call in class GitCommand<java.util.List<Ref>>
        Returns:
        the tags available
        Throws:
        GitAPIException - or subclass thereof when an error occurs