Package qupath.lib.gui.extensions
Class GitHubProject.GitHubRepo
java.lang.Object
qupath.lib.gui.extensions.GitHubProject.GitHubRepo
- Enclosing interface:
GitHubProject
Helper class to represent a GitHub repository.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GitHubProject.GitHubRepo
Create a newGitHubProject
.boolean
getName()
Get the name.getOwner()
Get the owner.getRepo()
Get the repo.Get the URL for the main repo.int
hashCode()
toString()
-
Method Details
-
getOwner
Get the owner.- Returns:
-
getRepo
Get the repo.- Returns:
-
getName
Get the name. This can be used to identify the overall project, but is not part of the source code URL.- Returns:
-
getUrlString
Get the URL for the main repo.- Returns:
-
toString
-
create
Create a newGitHubProject
.- Parameters:
name
- a user-friendly nameowner
- the owner, used as the first part in the GitHub URLrepo
- the repo, used as the second part in the GitHub URL- Returns:
-
hashCode
public int hashCode() -
equals
-