public abstract class AbstractRequireFiles extends AbstractStandardEnforcerRule
message| Constructor and Description |
|---|
AbstractRequireFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper) |
String |
getCacheId()
If your rule is cacheable, you must return a unique id when parameters or conditions change that would cause the
result to be different.
|
boolean |
isCacheable()
This tells the system if the results are cacheable at all.
|
boolean |
isResultValid(org.apache.maven.enforcer.rule.api.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.
|
getMessage, setMessagepublic void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
org.apache.maven.enforcer.rule.api.EnforcerRuleExceptionpublic String getCacheId()
public boolean isCacheable()
true if rule is cacheablepublic boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule cachedRule)
cachedRule - the cached ruletrue if the stored results are valid for the same id.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.