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 String
getExcludeRegex()
int
getFormatVersion()
String
getModuleRegex()
boolean
isAllowNestedSrcFolder()
void
validate()
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 ConfigValidationException
Description copied from interface:SelfValidating
Perform self-validation.- Specified by:
validate
in interfaceSelfValidating
- Throws:
ConfigValidationException
- an error is detected
-
-