org.apache.maven.plugins.enforcer
Class AbstractNonCacheableEnforcerRule

java.lang.Object
  extended by org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
      extended by org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
All Implemented Interfaces:
EnforcerRule
Direct Known Subclasses:
AbstractBanDependencies, AbstractPropertyEnforcerRule, AlwaysFail, AlwaysPass, BanDuplicatePomDependencyVersions, BanTransitiveDependencies, EvaluateBeanshell, RequireActiveProfile, RequireNoRepositories, RequirePluginVersions, RequirePrerequisite, RequireReleaseVersion, RequireSameVersions, RequireUpperBoundDeps

public abstract class AbstractNonCacheableEnforcerRule
extends AbstractStandardEnforcerRule

The Class AbstractNonCacheableEnforcerRule. This is to be used by rules that don't need caching... it saves implementing a bunch of methods.

Version:
$Id: AbstractNonCacheableEnforcerRule.java 805190 2009-08-17 22:30:49Z hboutemy $
Author:
Brian Fox

Field Summary
 
Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
message
 
Constructor Summary
AbstractNonCacheableEnforcerRule()
           
 
Method Summary
 String getCacheId()
           
 boolean isCacheable()
           
 boolean isResultValid(EnforcerRule cachedRule)
           
 
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
getMessage, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.enforcer.rule.api.EnforcerRule
execute
 

Constructor Detail

AbstractNonCacheableEnforcerRule

public AbstractNonCacheableEnforcerRule()
Method Detail

getCacheId

public String getCacheId()

isCacheable

public boolean isCacheable()

isResultValid

public boolean isResultValid(EnforcerRule cachedRule)


Copyright © 2007–2013 The Apache Software Foundation. All rights reserved.