Class MdlJsonConfig.SpecElement
- java.lang.Object
-
- com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
-
- All Implemented Interfaces:
SelfValidating
- Enclosing class:
- MdlJsonConfig
public static class MdlJsonConfig.SpecElement extends Object implements SelfValidating
The allow and deny lists in each MDL path specification are composed of elements ofSpecElement
s.
-
-
Constructor Summary
Constructors Constructor Description SpecElement()
No-args constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSpec()
MdlContentSpecType
getType()
String
toString()
void
validate()
Perform self-validation.
-
-
-
Method Detail
-
getType
public MdlContentSpecType getType()
-
getSpec
public String getSpec()
-
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
-
-