Package io.micronaut.maven.enforcer
Class CheckSnakeYaml
java.lang.Object
org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
io.micronaut.maven.enforcer.CheckSnakeYaml
- All Implemented Interfaces:
org.apache.maven.enforcer.rule.api.EnforcerRuleBase
@Named("checkSnakeYaml")
public class CheckSnakeYaml
extends org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
Enforcer rule to check that, when the application has YAML configuration, the SnakeYAML library is present.
- Since:
- 4.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
getCacheId, getLevel
-
Constructor Details
-
CheckSnakeYaml
-
-
Method Details
-
execute
- Specified by:
execute
in classorg.apache.maven.enforcer.rule.api.AbstractEnforcerRule
- Throws:
org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
toString
-
setLog
public void setLog(org.apache.maven.enforcer.rule.api.EnforcerLogger arg0) - Specified by:
setLog
in interfaceorg.apache.maven.enforcer.rule.api.EnforcerRuleBase
-
getLog
public org.apache.maven.enforcer.rule.api.EnforcerLogger getLog()
-