public static class MdlJsonConfig.MdlSpec extends Object implements SelfValidating
Constructor and Description |
---|
MdlSpec() |
Modifier and Type | Method and Description |
---|---|
List<MdlJsonConfig.SpecElement> |
getAllow() |
List<MdlJsonConfig.SpecElement> |
getDeny() |
Pattern |
getModules() |
boolean |
isWhitelist() |
void |
validate()
Perform self-validation.
|
@CheckForNull public List<MdlJsonConfig.SpecElement> getAllow()
@CheckForNull public List<MdlJsonConfig.SpecElement> getDeny()
@CheckForNull public Pattern getModules()
public boolean isWhitelist()
public void validate() throws ConfigValidationException
SelfValidating
validate
in interface SelfValidating
ConfigValidationException
- an error is detected