@ProviderType
public interface ResourceProperty
Resource
property.Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this property.
|
Pattern |
getNamePattern()
Returns the name pattern for this property.
|
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 String getName()
getNamePattern()
is not null
this name is not relevant for matching the property.@CheckForNull 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 List<ValidatorInvocation> getValidatorInvocations()
ValidatorInvocation
s which should be applied on this property.List
of ValidatorInvocation
sCopyright © 2017 The Apache Software Foundation. All rights reserved.