public class MdlJsonConfig extends java.lang.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 |
---|---|
java.lang.String |
getComment() |
MdlJsonConfig.Settings |
getSettings() |
java.util.Map<java.lang.String,MdlJsonConfig.MdlSpec> |
getStructure() |
void |
validate()
Perform self-validation.
|
@CheckForNull public java.lang.String getComment()
@Nonnull public MdlJsonConfig.Settings getSettings()
@Nonnull public java.util.Map<java.lang.String,MdlJsonConfig.MdlSpec> getStructure()
public void validate() throws ConfigValidationException
SelfValidating
validate
in interface SelfValidating
ConfigValidationException
- an error is detected