|
||||||||||
| 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.AbstractRequireFiles
org.apache.maven.plugins.enforcer.RequireFilesSize
public class RequireFilesSize
Rule to validate the main artifact is within certain size constraints.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule |
|---|
message |
| Constructor Summary | |
|---|---|
RequireFilesSize()
|
|
| Method Summary | |
|---|---|
void |
execute(EnforcerRuleHelper helper)
|
boolean |
isCacheable()
This tells the system if the results are cacheable at all. |
boolean |
isResultValid(EnforcerRule cachedRule)
If the rule is cacheable and the same id is found in the cache, the stored results are passed to this method to allow double checking of the results. |
| Methods inherited from class org.apache.maven.plugins.enforcer.AbstractRequireFiles |
|---|
getCacheId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequireFilesSize()
| Method Detail |
|---|
public void execute(EnforcerRuleHelper helper)
throws EnforcerRuleException
execute in interface EnforcerRuleexecute in class AbstractRequireFilesEnforcerRuleExceptionpublic boolean isCacheable()
AbstractRequireFiles
isCacheable in interface EnforcerRuleisCacheable in class AbstractRequireFilestrue if rule is cacheablepublic boolean isResultValid(EnforcerRule cachedRule)
AbstractRequireFiles
isResultValid in interface EnforcerRuleisResultValid in class AbstractRequireFilescachedRule - the cached rule
true if the stored results are valid for the same id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||