@ProviderType
public interface ChildResource
ValidationModel
s to be applied to Resource
trees.Modifier and Type | Method and Description |
---|---|
java.util.Collection<ChildResource> |
getChildren()
Returns the child resources of this part of the Validation Model
|
java.lang.String |
getName()
Return this resource's name.
|
java.util.regex.Pattern |
getNamePattern()
Returns this resource's name pattern.
|
java.util.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 java.lang.String getName()
getNamePattern()
is not null
this name is not relevant for matching the content resource.@CheckForNull java.util.regex.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 java.util.Collection<ResourceProperty> getProperties()
null
.@Nonnull java.util.Collection<ChildResource> getChildren()
null
.Copyright © 2022 The Apache Software Foundation. All rights reserved.