java.lang.Object
io.github.thecsdev.tcdcommons.api.util.io.repo.ugc.RepositoryUGC
io.github.thecsdev.tcdcommons.api.util.io.repo.ugc.RepositoryInfo
Direct Known Subclasses:
GitHubRepositoryInfo

public abstract class RepositoryInfo extends RepositoryUGC
  • Constructor Details

    • RepositoryInfo

      public RepositoryInfo()
  • Method Details

    • getHost

      public abstract RepositoryHostInfo getHost()
      Returns the RepositoryHostInfo about the host that hosts this repository.
      Specified by:
      getHost in class RepositoryUGC
    • getID

      public abstract String getID()
      Returns a String representation of this repository's unique identifier.
      Specified by:
      getID in class RepositoryUGC
    • getName

      public abstract String getName()
      Returns the name of this repository.
    • getDescription

      @Nullable public abstract @Nullable String getDescription()
      Returns the description of this repository.
    • getOpenIssuesCount

      @Nullable public abstract @Nullable BigInteger getOpenIssuesCount()
      Returns the number of issues or bug reports that are currently "open" for this repository.
    • getForkCount

      @Nullable public abstract @Nullable BigInteger getForkCount()
      Returns the number of times this repository had been forked.
    • getLikeCount

      @Nullable public abstract @Nullable BigInteger getLikeCount()
      Returns the number of times this repository had been liked/starred/favorited.