|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
org.apache.maven.plugins.enforcer.AbstractVersionEnforcer
org.apache.maven.plugins.enforcer.RequireMavenVersion
public class RequireMavenVersion
This rule checks that the Maven version is allowed.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugins.enforcer.AbstractVersionEnforcer |
|---|
version |
| Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule |
|---|
message |
| Constructor Summary | |
|---|---|
RequireMavenVersion()
|
|
| Method Summary | |
|---|---|
void |
execute(EnforcerRuleHelper helper)
This is the interface into the rule. |
| Methods inherited from class org.apache.maven.plugins.enforcer.AbstractVersionEnforcer |
|---|
containsVersion, enforceVersion, getCacheId, getVersion, isCacheable, isResultValid, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequireMavenVersion()
| Method Detail |
|---|
public void execute(EnforcerRuleHelper helper)
throws EnforcerRuleException
EnforcerRule
helper - The helper provides access to the log, MavenSession and has
helpers to get common components. It is also able to lookup components
by class name.
EnforcerRuleException - the enforcer rule exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||