Represents a rule for determining the version based on the current branch.
| Type | Name and description |
|---|---|
java.util.regex.Pattern |
branchNamePatternA regular expression pattern that the branch name must match for the rule to apply. |
groovy.lang.Closure<?> |
configClosureA closure that should be executed if the branch name matches the pattern. |
| Constructor and description |
|---|
BranchRule
(java.util.regex.Pattern branchNamePattern, groovy.lang.Closure<?> configClosure) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation