public class BanTransitiveDependencies extends AbstractNonCacheableEnforcerRule implements EnforcerRule
Constructor and Description |
---|
BanTransitiveDependencies() |
Modifier and Type | Method and Description |
---|---|
void |
execute(EnforcerRuleHelper helper)
This is the interface into the rule.
|
getCacheId, isCacheable, isResultValid
getLevel, getMessage, setLevel, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCacheId, isCacheable, isResultValid
public BanTransitiveDependencies()
public void execute(EnforcerRuleHelper helper) throws EnforcerRuleException
EnforcerRule
execute
in interface EnforcerRule
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 exceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.