public class StalenessChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StalenessChecker.RefStatePattern
Pattern for matching refs.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<java.lang.String> |
FIELDS |
Modifier and Type | Method and Description |
---|---|
boolean |
isStale(Change.Id id) |
static boolean |
isStale(GitRepositoryManager repoManager,
Change.Id id,
Change indexChange,
Change reviewDbChange,
com.google.common.collect.SetMultimap<Project.NameKey,RefState> states,
com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> patterns) |
static com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> |
parsePatterns(java.lang.Iterable<byte[]> patterns) |
public static final com.google.common.collect.ImmutableSet<java.lang.String> FIELDS
public boolean isStale(Change.Id id) throws java.io.IOException, com.google.gwtorm.server.OrmException
java.io.IOException
com.google.gwtorm.server.OrmException
public static boolean isStale(GitRepositoryManager repoManager, Change.Id id, Change indexChange, Change reviewDbChange, com.google.common.collect.SetMultimap<Project.NameKey,RefState> states, com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> patterns)
public static com.google.common.collect.ListMultimap<Project.NameKey,StalenessChecker.RefStatePattern> parsePatterns(java.lang.Iterable<byte[]> patterns)