public abstract class RefState
extends java.lang.Object
Constructor and Description |
---|
RefState() |
Modifier and Type | Method and Description |
---|---|
static void |
check(boolean condition,
java.lang.String str) |
static RefState |
create(java.lang.String ref,
org.eclipse.jgit.lib.ObjectId id) |
static RefState |
create(java.lang.String ref,
java.lang.String sha) |
abstract org.eclipse.jgit.lib.ObjectId |
id() |
boolean |
match(org.eclipse.jgit.lib.Repository repo) |
static RefState |
of(org.eclipse.jgit.lib.Ref ref) |
static com.google.common.collect.SetMultimap<Project.NameKey,RefState> |
parseStates(java.lang.Iterable<byte[]> states) |
abstract java.lang.String |
ref() |
byte[] |
toByteArray(Project.NameKey project) |
public static com.google.common.collect.SetMultimap<Project.NameKey,RefState> parseStates(java.lang.Iterable<byte[]> states)
public static RefState create(java.lang.String ref, java.lang.String sha)
public static RefState create(java.lang.String ref, org.eclipse.jgit.lib.ObjectId id)
public static RefState of(org.eclipse.jgit.lib.Ref ref)
public byte[] toByteArray(Project.NameKey project)
public static void check(boolean condition, java.lang.String str)
public abstract java.lang.String ref()
public abstract org.eclipse.jgit.lib.ObjectId id()
public boolean match(org.eclipse.jgit.lib.Repository repo) throws java.io.IOException
java.io.IOException