Class Releases.Smart

    • Constructor Detail

      • Smart

        public Smart​(Releases original)
        Public CTOR.
        Parameters:
        original - Original releases
    • Method Detail

      • repo

        public Repo repo()
        Description copied from interface: Releases
        Owner of them.
        Specified by:
        repo in interface Releases
        Returns:
        Repo
      • get

        public Release get​(int number)
        Description copied from interface: Releases
        Get a single release.
        Specified by:
        get in interface Releases
        Parameters:
        number - Release id
        Returns:
        Release
        See Also:
        Get a single release
      • exists

        public boolean exists​(String tag)
                       throws IOException
        This release exists by the tag.
        Parameters:
        tag - The tag
        Returns:
        TRUE if it already exists
        Throws:
        IOException - If fails
      • find

        public Release find​(String tag)
                     throws IOException
        Find release by the tag (runtime exception if not found).
        Parameters:
        tag - The tag
        Returns:
        Release found
        Throws:
        IOException - If fails