|
||||||||||
| 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.AbstractNonCacheableEnforcerRule
org.apache.maven.plugins.enforcer.AlwaysFail
public class AlwaysFail
Always fail. This rule is useful for testing the Enforcer configuration, or to always fail the build if a particular profile is enabled.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule |
|---|
message |
| Constructor Summary | |
|---|---|
AlwaysFail()
|
|
| Method Summary | |
|---|---|
void |
execute(EnforcerRuleHelper helper)
This is the interface into the rule. |
| Methods inherited from class org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule |
|---|
getCacheId, isCacheable, isResultValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlwaysFail()
| Method Detail |
|---|
public void execute(EnforcerRuleHelper helper)
throws EnforcerRuleException
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 | |||||||||