Interface AnnotationAttributeConfiguration
-
public interface AnnotationAttributeConfiguration- Since:
- 4.0
- Author:
- anistor@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAnnotationAttributeConfiguration.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>allowedValues()The set of allowed values.ObjectdefaultValue()The default value (optional)booleanisAllowed(AnnotationElement.Value value)booleanmultiple()Is it a single value or an array of values?Stringname()The name of the annotation element (required).StringpackageName()The optional package nameAnnotationElement.AttributeTypetype()The type.
-
-
-
Method Detail
-
name
String name()
The name of the annotation element (required).
-
packageName
String packageName()
The optional package name
-
type
AnnotationElement.AttributeType type()
The type. Defaults to String if not explicitly set.
-
multiple
boolean multiple()
Is it a single value or an array of values?
-
defaultValue
Object defaultValue()
The default value (optional)
-
allowedValues
Set<String> allowedValues()
The set of allowed values. This is only used with STRING, IDENTIFIER, or ANNOTATION type. ANNOTATION type must have a single allowed value.
-
isAllowed
boolean isAllowed(AnnotationElement.Value value)
-
-