Package de.redsix.dmncheck
Class CheckerMain
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- de.redsix.dmncheck.CheckerMain
-
- All Implemented Interfaces:
PluginBase,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="check-dmn", requiresProject=false, requiresDependencyResolution=TEST) public class CheckerMain extends org.apache.maven.plugin.AbstractMojo implements PluginBase
-
-
Constructor Summary
Constructors Constructor Description CheckerMain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()booleanfailOnWarning()List<String>getExcludeList()PrettyPrintValidationResults.PluginLoggergetPluginLogger()List<String>getSearchPathList()String[]getValidatorClasses()String[]getValidatorPackages()-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.redsix.dmncheck.plugin.PluginBase
fetchFilesToTestFromSearchPaths, getFileNames, getValidators, runValidators, testFile, testFiles, validate
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getPluginLogger
public PrettyPrintValidationResults.PluginLogger getPluginLogger()
- Specified by:
getPluginLoggerin interfacePluginBase
-
getExcludeList
public List<String> getExcludeList()
- Specified by:
getExcludeListin interfacePluginBase
-
getSearchPathList
public List<String> getSearchPathList()
- Specified by:
getSearchPathListin interfacePluginBase
-
getValidatorPackages
public String[] getValidatorPackages()
- Specified by:
getValidatorPackagesin interfacePluginBase
-
getValidatorClasses
public String[] getValidatorClasses()
- Specified by:
getValidatorClassesin interfacePluginBase
-
failOnWarning
public boolean failOnWarning()
- Specified by:
failOnWarningin interfacePluginBase
-
-