Class RemoteRepo

java.lang.Object
io.github.intisy.gradle.github.api.model.RemoteRepo

public final class RemoteRepo extends Object
The GitHub owner and repository name a local checkout's origin remote resolves to.
  • Constructor Details

    • RemoteRepo

      public RemoteRepo(String owner, String repo)
      Parameters:
      owner - the GitHub account or organization that owns the repository, or null if unresolved.
      repo - the repository name, without the owner prefix, or null if unresolved.
  • Method Details

    • getOwner

      public String getOwner()
      Returns:
      the GitHub account or organization that owns the repository, or null if unresolved.
    • getRepo

      public String getRepo()
      Returns:
      the repository name, without the owner prefix, or null if unresolved.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object