@ProviderType
public interface ValidationModelRetriever
Modifier and Type | Method and Description |
---|---|
ValidationModel |
getValidationModel(java.lang.String resourceType,
java.lang.String resourcePath,
boolean considerResourceSuperTypeModels)
A validation model for the given resourceType at the given resourcePath
|
@CheckForNull ValidationModel getValidationModel(@Nonnull java.lang.String resourceType, java.lang.String resourcePath, boolean considerResourceSuperTypeModels)
resourceType
- the resource type for which to retrieve the modelresourcePath
- may be null
or emptyconsiderResourceSuperTypeModels
- true
if a merged validation model considering even the models of the super resource types should be returned, otherwise false
null
, if no validation model could be foundjava.lang.IllegalStateException
- in case some error occurred during looking up modelsCopyright © 2018 The Apache Software Foundation. All rights reserved.