Interface Issue

    • Method Detail

      • repo

        Repo repo()
        Repository we're in.
        Returns:
        Repo
      • number

        int number()
        Get its number.
        Returns:
        Issue number
      • exists

        boolean exists()
                throws IOException
        Does this issue exist in Github?
        Returns:
        TRUE if this issue exists
        Throws:
        IOException - If there is any I/O problem
      • react

        void react​(Reaction reaction)
            throws IOException
        Adds the reaction to the issue.
        Parameters:
        reaction - Reaction to be added.
        Throws:
        IOException - If there is any I/O problem
      • reactions

        Iterable<Reaction> reactions()
        List the reactions of the issue.
        Returns:
        Issue reactions.
      • lock

        void lock​(String reason)
        Locks the issue.
        Parameters:
        reason - Lock reason
      • unlock

        void unlock()
        Unlocks the issue.
      • isLocked

        boolean isLocked()
        The issue conversation is locked?
        Returns:
        If the issue is locked.