@ProviderType
public interface ValidationModel
ValidationModel
defines the validation rules that a resource tree has to pass.Modifier and Type | Method and Description |
---|---|
Collection<String> |
getApplicablePaths()
Returns the paths under which resources will be validated by this model.
|
Collection<ChildResource> |
getChildren()
Returns the expected children for a resource validated by this model.
|
Collection<ResourceProperty> |
getResourceProperties()
Returns the properties validated by this model.
|
String |
getSource() |
String |
getValidatingResourceType()
Returns the type of resource this model validates.
|
@Nonnull Collection<ResourceProperty> getResourceProperties()
null
, but might be empty list)@Nonnull String getValidatingResourceType()
null
@Nonnull Collection<String> getApplicablePaths()
null
nor an empty collection.@Nonnull Collection<ChildResource> getChildren()
null
@Nonnull String getSource()
Copyright © 2017 The Apache Software Foundation. All rights reserved.