|
||||||||||
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.RequireReleaseVersion
public class RequireReleaseVersion
This rule checks that the current project is not a snapshot.
Field Summary | |
---|---|
boolean |
failWhenParentIsSnapshot
Allows this rule to fail when the parent is defined as a snapshot. |
Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule |
---|
message |
Constructor Summary | |
---|---|
RequireReleaseVersion()
|
Method Summary | |
---|---|
void |
execute(EnforcerRuleHelper theHelper)
|
boolean |
isFailWhenParentIsSnapshot()
|
void |
setFailWhenParentIsSnapshot(boolean failWhenParentIsSnapshot)
|
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 |
Field Detail |
---|
public boolean failWhenParentIsSnapshot
Constructor Detail |
---|
public RequireReleaseVersion()
Method Detail |
---|
public void execute(EnforcerRuleHelper theHelper) throws EnforcerRuleException
EnforcerRuleException
public boolean isFailWhenParentIsSnapshot()
public void setFailWhenParentIsSnapshot(boolean failWhenParentIsSnapshot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |