Class RefState

java.lang.Object
com.google.gerrit.index.RefState

public abstract class RefState extends Object
  • Constructor Details

    • RefState

      public RefState()
  • Method Details

    • parseStates

      public static com.google.common.collect.ImmutableSetMultimap<Project.NameKey,RefState> parseStates(Iterable<byte[]> states)
    • create

      public static RefState create(String ref, String sha)
    • create

      public static RefState create(String ref, org.eclipse.jgit.lib.ObjectId id)
    • of

      public static RefState of(org.eclipse.jgit.lib.Ref ref)
    • toByteArray

      public byte[] toByteArray(Project.NameKey project)
    • check

      public static void check(boolean condition, String str)
    • ref

      public abstract String ref()
    • id

      public abstract org.eclipse.jgit.lib.ObjectId id()
    • match

      public boolean match(org.eclipse.jgit.lib.Repository repo) throws IOException
      Throws:
      IOException