Class MdlJsonConfig.Settings
- java.lang.Object
-
- com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
-
- All Implemented Interfaces:
SelfValidating
- Enclosing class:
- MdlJsonConfig
public static class MdlJsonConfig.Settings extends Object implements SelfValidating
Encapsulates the general settings which are supported in a directories.json.
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExcludeRegex()intgetFormatVersion()StringgetModuleRegex()booleanisAllowNestedSrcFolder()voidvalidate()Perform self-validation.
-
-
-
Method Detail
-
getFormatVersion
public int getFormatVersion()
-
getModuleRegex
public String getModuleRegex()
-
getExcludeRegex
public String getExcludeRegex()
-
isAllowNestedSrcFolder
public boolean isAllowNestedSrcFolder()
-
validate
public void validate() throws ConfigValidationExceptionDescription copied from interface:SelfValidatingPerform self-validation.- Specified by:
validatein interfaceSelfValidating- Throws:
ConfigValidationException- an error is detected
-
-