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 classRefPatternMatcher.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 RefPatternMatchergetMatcher(AccessSection section)static RefPatternMatchergetMatcher(String pattern)abstract booleanmatch(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)
-
-