@ProviderType
public interface ValidationModelRetriever
| Modifier and Type | Method and Description |
|---|---|
ValidationModel |
getValidationModel(String resourceType,
String resourcePath,
boolean considerResourceSuperTypeModels)
A validation model for the given resourceType at the given resourcePath
|
@CheckForNull ValidationModel getValidationModel(@Nonnull String resourceType, 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 falsenull, if no validation model could be foundIllegalStateException - in case some error occurred during looking up modelsCopyright © 2017 The Apache Software Foundation. All rights reserved.