public abstract class AbstractRuleContext extends java.lang.Object implements RuleContext
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRuleContext(RuleEvaluationContext evaluationContext) |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.Project |
getProject()
Gets the Gradle project.
|
GitRepository |
getRepository()
Gets the Git repository.
|
MutableSemVersion |
getVersion() |
boolean |
isSkipOtherRules() |
void |
setSkipOtherRules(boolean skipOtherRules) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbranchPoint, branchPoint, branchPoint, countCommitsSince, findLatestTag, findLatestTag, getBranchName, getCurrentBranch, getHead, setVersion, setVersionprotected AbstractRuleContext(RuleEvaluationContext evaluationContext)
@Nonnull public MutableSemVersion getVersion()
getVersion in interface RuleContext@Nonnull public org.gradle.api.Project getProject()
RuleContextgetProject in interface RuleContextProject@Nonnull public GitRepository getRepository()
RuleContextgetRepository in interface RuleContextGitRepositorypublic boolean isSkipOtherRules()
isSkipOtherRules in interface RuleContextpublic void setSkipOtherRules(boolean skipOtherRules)
setSkipOtherRules in interface RuleContext