public class SectionMatcher extends RefPatternMatcher
These matchers are "compiled" versions of the AccessSection name, supporting faster selection of which sections are relevant to any given input reference.
RefPatternMatcher.ExpandParameters| Constructor and Description |
|---|
SectionMatcher(Project.NameKey project,
AccessSection section,
RefPatternMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
RefPatternMatcher |
getMatcher() |
Project.NameKey |
getProject() |
AccessSection |
getSection() |
boolean |
match(String ref,
CurrentUser user) |
getMatcherpublic SectionMatcher(Project.NameKey project, AccessSection section, RefPatternMatcher matcher)
public boolean match(String ref, CurrentUser user)
match in class RefPatternMatcherpublic AccessSection getSection()
public RefPatternMatcher getMatcher()
public Project.NameKey getProject()