@ProviderType
public interface ChildResource
ValidationModel
s to be applied to Resource
trees.Modifier and Type | Method and Description |
---|---|
Collection<ChildResource> |
getChildren()
Returns the child resources of this part of the Validation Model
|
String |
getName()
Return this resource's name.
|
Pattern |
getNamePattern()
Returns this resource's name pattern.
|
Collection<ResourceProperty> |
getProperties()
Returns the properties this child resource is expected to have.
|
boolean |
isRequired()
Returns
true if at least one resource matching the name/namePattern is required. |
@Nonnull String getName()
getNamePattern()
is not null
this name is not relevant for matching the content resource.@CheckForNull Pattern getNamePattern()
null
, this pattern is used for finding the child resources which should be validated.null
boolean isRequired()
true
if at least one resource matching the name/namePattern is required.true
if the resource is required, false
otherwise@Nonnull Collection<ResourceProperty> getProperties()
null
.@Nonnull Collection<ChildResource> getChildren()
null
.Copyright © 2017 The Apache Software Foundation. All rights reserved.