Class GitHubProject.GitHubRepo

java.lang.Object
qupath.lib.gui.extensions.GitHubProject.GitHubRepo
Enclosing interface:
GitHubProject

public static class GitHubProject.GitHubRepo extends Object
Helper class to represent a GitHub repository.
  • Method Details

    • getOwner

      public String getOwner()
      Get the owner.
      Returns:
    • getRepo

      public String getRepo()
      Get the repo.
      Returns:
    • getName

      public String getName()
      Get the name. This can be used to identify the overall project, but is not part of the source code URL.
      Returns:
    • getUrlString

      public String getUrlString()
      Get the URL for the main repo.
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • create

      public static GitHubProject.GitHubRepo create(String name, String owner, String repo)
      Create a new GitHubProject.
      Parameters:
      name - a user-friendly name
      owner - the owner, used as the first part in the GitHub URL
      repo - the repo, used as the second part in the GitHub URL
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object