Package com.google.gerrit.server.project
Class RefPatternMatcher
- java.lang.Object
-
- com.google.gerrit.server.project.RefPatternMatcher
-
- Direct Known Subclasses:
RefPatternMatcher.ExpandParameters
,SectionMatcher
public abstract class RefPatternMatcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefPatternMatcher.ExpandParameters
-
Constructor Summary
Constructors Constructor Description RefPatternMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static RefPatternMatcher
getMatcher(AccessSection section)
static RefPatternMatcher
getMatcher(String pattern)
abstract boolean
match(String ref, CurrentUser user)
-
-
-
Method Detail
-
getMatcher
public static RefPatternMatcher getMatcher(AccessSection section)
-
getMatcher
public static RefPatternMatcher getMatcher(String pattern)
-
match
public abstract boolean match(String ref, CurrentUser user)
-
-