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