Package org.apache.maven.enforcer.rules
Class ExternalRules
java.lang.Object
org.apache.maven.enforcer.rule.api.AbstractEnforcerRuleConfigProvider
org.apache.maven.enforcer.rules.ExternalRules
- All Implemented Interfaces:
EnforcerRuleBase
An enforcer rule that will provide rules configuration from an external resource.
- Since:
- 3.2.0
- Author:
- George Gastaldi
-
Constructor Summary
ConstructorsConstructorDescriptionExternalRules(org.apache.maven.plugin.MojoExecution mojoExecution, ExpressionEvaluator evaluator) -
Method Summary
Modifier and TypeMethodDescriptiongetLog()org.codehaus.plexus.util.xml.Xpp3DomvoidsetLocation(String location) voidsetLog(EnforcerLogger arg0) voidsetXsltLocation(String xsltLocation) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.enforcer.rule.api.EnforcerRuleBase
getLevel, getRuleName
-
Constructor Details
-
ExternalRules
@Inject public ExternalRules(org.apache.maven.plugin.MojoExecution mojoExecution, ExpressionEvaluator evaluator)
-
-
Method Details
-
setLocation
-
setXsltLocation
-
getRulesConfig
- Specified by:
getRulesConfigin classAbstractEnforcerRuleConfigProvider- Throws:
EnforcerRuleError
-
toString
-
setLog
- Specified by:
setLogin interfaceEnforcerRuleBase
-
getLog
-