Interface GHRepo


  • public interface GHRepo
    GitHub repository.
    • Method Detail

      • getMilestone

        GHMilestone getMilestone​(int number)
                          throws FB2GHException
        Get a single milestone.
        Parameters:
        number - The number of the milestone
        Returns:
        The milestone
        Throws:
        FB2GHException - if a GitHub error occurs
      • addIssue

        GHIssue addIssue​(String title,
                         String description)
                  throws FB2GHException
        Create an issue.
        Parameters:
        title - Title of the issue
        description - Description of the issue
        Returns:
        The created issue
        Throws:
        FB2GHException - if a GitHub error occurs
      • getIssue

        GHIssue getIssue​(int number)
        Get an issue by number.
        Parameters:
        number - Number of the issue
        Returns:
        The issue
      • getOwner

        String getOwner()
        Returns:
        The owner of this repository.
      • getName

        String getName()
        Returns:
        The name of this repository.