public class PatternAnnotationValidator extends java.lang.Object implements IPatternAnnotationValidator
PatternAnnotationProvider
.Constructor and Description |
---|
PatternAnnotationValidator(java.lang.String name,
java.lang.String description,
boolean deprecated,
java.lang.Iterable<PatternAnnotationParameter> parameters,
IPatternAnnotationAdditionalValidator validator) |
Modifier and Type | Method and Description |
---|---|
IPatternAnnotationAdditionalValidator |
getAdditionalValidator()
Provides an additional validator implementation.
|
java.lang.Iterable<java.lang.String> |
getAllAvailableParameterNames() |
java.lang.String |
getAnnotationName() |
java.lang.String |
getDescription() |
java.lang.String |
getDescription(java.lang.String parameterName) |
java.lang.Class<? extends ValueReference> |
getExpectedParameterType(AnnotationParameter parameter)
Returns whether a parameter of an annotation is mistyped
|
java.lang.Iterable<java.lang.String> |
getMissingMandatoryAttributes(Annotation annotation) |
java.lang.Iterable<AnnotationParameter> |
getUnknownAttributes(Annotation annotation) |
boolean |
isDeprecated() |
boolean |
isDeprecated(java.lang.String parameterName) |
public PatternAnnotationValidator(java.lang.String name, java.lang.String description, boolean deprecated, java.lang.Iterable<PatternAnnotationParameter> parameters, IPatternAnnotationAdditionalValidator validator)
public java.lang.Iterable<java.lang.String> getAllAvailableParameterNames()
getAllAvailableParameterNames
in interface IPatternAnnotationValidator
public java.lang.Iterable<java.lang.String> getMissingMandatoryAttributes(Annotation annotation)
getMissingMandatoryAttributes
in interface IPatternAnnotationValidator
public java.lang.Iterable<AnnotationParameter> getUnknownAttributes(Annotation annotation)
getUnknownAttributes
in interface IPatternAnnotationValidator
public java.lang.Class<? extends ValueReference> getExpectedParameterType(AnnotationParameter parameter)
IPatternAnnotationValidator
getExpectedParameterType
in interface IPatternAnnotationValidator
public java.lang.String getAnnotationName()
getAnnotationName
in interface IPatternAnnotationValidator
public java.lang.String getDescription()
getDescription
in interface IPatternAnnotationValidator
public java.lang.String getDescription(java.lang.String parameterName)
getDescription
in interface IPatternAnnotationValidator
public boolean isDeprecated()
isDeprecated
in interface IPatternAnnotationValidator
public boolean isDeprecated(java.lang.String parameterName)
isDeprecated
in interface IPatternAnnotationValidator
public IPatternAnnotationAdditionalValidator getAdditionalValidator()
IPatternAnnotationValidator
getAdditionalValidator
in interface IPatternAnnotationValidator