public class DefaultRulesContainer extends java.lang.Object implements RulesContainer, RulesContainerInternal
| Constructor and Description |
|---|
DefaultRulesContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(org.gradle.api.Action<RuleContext> action) |
void |
always(org.gradle.api.Action<RuleContext> action) |
void |
before(org.gradle.api.Action<RuleContext> action) |
MutableSemVersion |
getBaseVersion() |
VersioningRules |
getVersioningRules() |
void |
onBranch(java.util.regex.Pattern branchNamePattern,
org.gradle.api.Action<PatternMatchRuleContext> action) |
void |
onBranch(java.lang.String branchName,
org.gradle.api.Action<RuleContext> action) |
void |
onDetachedHead(org.gradle.api.Action<RuleContext> action) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafter, always, before, onBranch, onBranch, onDetachedHead, setBaseVersion@Nonnull public MutableSemVersion getBaseVersion()
getBaseVersion in interface RulesContainerpublic void always(org.gradle.api.Action<RuleContext> action)
always in interface RulesContainerpublic void onBranch(java.lang.String branchName,
org.gradle.api.Action<RuleContext> action)
onBranch in interface RulesContainerpublic void onBranch(java.util.regex.Pattern branchNamePattern,
org.gradle.api.Action<PatternMatchRuleContext> action)
onBranch in interface RulesContainerpublic void onDetachedHead(org.gradle.api.Action<RuleContext> action)
onDetachedHead in interface RulesContainerpublic void before(org.gradle.api.Action<RuleContext> action)
before in interface RulesContainerpublic void after(org.gradle.api.Action<RuleContext> action)
after in interface RulesContainer@Nonnull public VersioningRules getVersioningRules()
getVersioningRules in interface RulesContainerInternal