public class MdlJsonConfig extends Object implements SelfValidating
Modifier and Type | Class and Description |
---|---|
static class |
MdlJsonConfig.MdlSpec
An MDL Spec specifies the characteristics of one directory in the module directory layout, for example
src/main/java.
|
static class |
MdlJsonConfig.Settings
Encapsulates the general settings which are supported in a directories.json.
|
static class |
MdlJsonConfig.SpecElement
The allow and deny lists in each MDL path specification are composed of elements of
SpecElement s. |
Constructor and Description |
---|
MdlJsonConfig() |
Modifier and Type | Method and Description |
---|---|
MdlJsonConfig.Settings |
getSettings() |
Map<String,MdlJsonConfig.MdlSpec> |
getStructure() |
void |
validate()
Perform self-validation.
|
public MdlJsonConfig.Settings getSettings()
public Map<String,MdlJsonConfig.MdlSpec> getStructure()
public void validate() throws ConfigValidationException
SelfValidating
validate
in interface SelfValidating
ConfigValidationException
- an error is detected