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