@ProviderType
public interface ResourceProperty
Resource
property.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of this property.
|
java.util.regex.Pattern |
getNamePattern()
Returns the name pattern for this property.
|
java.util.List<ValidatorInvocation> |
getValidatorInvocations()
Returns a list of
ValidatorInvocation s which should be applied on this property. |
boolean |
isMultiple() |
boolean |
isRequired()
Returns
true if at least one property matching the name/namePattern is required. |
@Nonnull java.lang.String getName()
getNamePattern()
is not null
this name is not relevant for matching the property.@CheckForNull java.util.regex.Pattern getNamePattern()
null
, this pattern is used for finding the properties which should be validated.null
boolean isMultiple()
true
if the property is expected to contain multiple values, false
otherwiseboolean isRequired()
true
if at least one property matching the name/namePattern is required.true
if the property is required, false
otherwise@Nonnull java.util.List<ValidatorInvocation> getValidatorInvocations()
ValidatorInvocation
s which should be applied on this property.List
of ValidatorInvocation
sCopyright © 2022 The Apache Software Foundation. All rights reserved.