public class DependencyConvergence extends Object implements org.apache.maven.enforcer.rule.api.EnforcerRule
| Constructor and Description |
|---|
DependencyConvergence() |
| 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 rule)
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.
|
void |
setUniqueVersions(boolean uniqueVersions) |
void |
setXmlReport(File xmlReport) |
public void setXmlReport(File xmlReport)
public void setUniqueVersions(boolean uniqueVersions)
public void execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper helper)
throws org.apache.maven.enforcer.rule.api.EnforcerRuleException
execute in interface org.apache.maven.enforcer.rule.api.EnforcerRuleorg.apache.maven.enforcer.rule.api.EnforcerRuleExceptionpublic String getCacheId()
getCacheId in interface org.apache.maven.enforcer.rule.api.EnforcerRulepublic boolean isCacheable()
isCacheable in interface org.apache.maven.enforcer.rule.api.EnforcerRulepublic boolean isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule rule)
isResultValid in interface org.apache.maven.enforcer.rule.api.EnforcerRulerule - Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.