Class RepositoryInfo

java.lang.Object
com.linecorp.centraldogma.client.RepositoryInfo

public final class RepositoryInfo extends Object
An immutable holder of repository information.
  • Constructor Details

    • RepositoryInfo

      public RepositoryInfo(String name, Revision headRevision)
      Creates a new instance with the specified repository name and the latest Revision of the repository.
  • Method Details

    • name

      public String name()
      Returns the name of the repository.
    • headRevision

      public Revision headRevision()
      Returns the latest Revision of the repository.
    • 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