public class BranchPatternMatcher extends Object
Constructor and Description |
---|
BranchPatternMatcher(Map<String,RefMap> branchPatternToIspwLevel,
PrintStream log)
Constructor
|
Modifier and Type | Method and Description |
---|---|
RefMap |
match(String refId)
Match the branch to the branch pattern, only the first find get returned
|
static String |
wildcardToRegex(String wildcard)
Convert wildcard to regular expression
|
public BranchPatternMatcher(Map<String,RefMap> branchPatternToIspwLevel, PrintStream log)
branchPatternToIspwLevel
- branch pattern to ispw levellog
- the jenkins logCopyright © 2016–2025. All rights reserved.