| Package | Description |
|---|---|
| org.mule.metadata.api.annotation | |
| org.mule.metadata.api.builder | |
| org.mule.metadata.api.model | |
| org.mule.metadata.api.model.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
AccessibilityAnnotation
Specify if a field is read only or write only.
|
class |
DefaultValueAnnotation
A default value for the annotated type
|
class |
DescriptionAnnotation
Adds a description to the annotated type.
|
class |
EnumAnnotation<T>
Defines the list of valid values for a given type.
|
class |
ExampleAnnotation
Represents an string example of the annotated type.
|
class |
FieldOccurrenceAnnotation
Constrain for minimum and maximum repetitions of a field.
|
class |
IntAnnotation
Applies a restriction to the annotated number type that its value should be an Integer.
|
class |
LabelAnnotation
Adds a label to the annotated type.
|
class |
LengthAnnotation
Applies a length range constrain of the annotated type.
|
class |
MarkerAnnotation
Abstract specialization of
TypeAnnotation for annotations
which are stateless and their only purpose is to just serve as markers. |
class |
NumberRangeAnnotation
Constrain for number specifying the range where this number is valid.
|
class |
RegexPatternAnnotation
Pattern constrain for string types.
|
class |
TypeAliasAnnotation
Used to specify a type alias for this type.
|
class |
TypeIdAnnotation
Used to specify the identifier in the underlying type system.
|
class |
UniquesItemsAnnotation
Constrain for Array types specifying that the array can only have unique
items.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends TypeAnnotation>> |
AnnotationsRegistry.getRegistry() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
AbstractBuilder.annotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
AbstractBuilder.annotations |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBuilder.addExtension(TypeAnnotation extension) |
T |
WithAnnotation.with(TypeAnnotation typeAnnotation)
Contributes a builder with
TypeAnnotations |
UnionTypeBuilder |
UnionTypeBuilder.with(TypeAnnotation extension) |
TypeParameterTypeBuilder |
TypeParameterTypeBuilder.with(TypeAnnotation extension) |
TupleTypeBuilder |
TupleTypeBuilder.with(TypeAnnotation extension) |
TimeZoneTypeBuilder |
TimeZoneTypeBuilder.with(TypeAnnotation extension) |
TimeTypeBuilder |
TimeTypeBuilder.with(TypeAnnotation extension) |
StringTypeBuilder |
StringTypeBuilder.with(TypeAnnotation extension) |
RegexTypeBuilder |
RegexTypeBuilder.with(TypeAnnotation extension) |
PeriodTypeBuilder |
PeriodTypeBuilder.with(TypeAnnotation extension) |
ObjectTypeBuilder |
ObjectTypeBuilder.with(TypeAnnotation extension) |
ObjectFieldTypeBuilder |
ObjectFieldTypeBuilder.with(TypeAnnotation extension) |
NumberTypeBuilder |
NumberTypeBuilder.with(TypeAnnotation extension) |
NothingTypeBuilder |
NothingTypeBuilder.with(TypeAnnotation extension) |
LocalTimeTypeBuilder |
LocalTimeTypeBuilder.with(TypeAnnotation extension) |
LocalDateTimeTypeBuilder |
LocalDateTimeTypeBuilder.with(TypeAnnotation extension) |
IntersectionTypeBuilder |
IntersectionTypeBuilder.with(TypeAnnotation extension) |
FunctionTypeBuilder |
FunctionTypeBuilder.with(TypeAnnotation extension) |
DateTypeBuilder |
DateTypeBuilder.with(TypeAnnotation extension) |
DateTimeBuilder |
DateTimeBuilder.with(TypeAnnotation extension) |
BooleanTypeBuilder |
BooleanTypeBuilder.with(TypeAnnotation extension) |
BinaryTypeBuilder |
BinaryTypeBuilder.with(TypeAnnotation extension) |
ArrayTypeBuilder |
ArrayTypeBuilder.with(TypeAnnotation extension) |
AnyTypeBuilder |
AnyTypeBuilder.with(TypeAnnotation extension) |
ObjectFieldTypeBuilder |
ObjectFieldTypeBuilder.withKeyAnnotation(TypeAnnotation extension) |
| Modifier and Type | Method and Description |
|---|---|
<T extends TypeAnnotation> |
MetadataType.getAnnotation(Class<T> annotation)
Returns an
Optional with the annotation of a given type. |
| Modifier and Type | Method and Description |
|---|---|
Set<TypeAnnotation> |
MetadataType.getAnnotations()
Returns all the annotations of the type.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
BaseMetadataType.annotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
BaseMetadataType.annotations |
| Modifier and Type | Method and Description |
|---|---|
<T extends TypeAnnotation> |
BaseMetadataType.getAnnotation(Class<T> extension) |
| Modifier and Type | Method and Description |
|---|---|
Set<TypeAnnotation> |
BaseMetadataType.getAnnotations() |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.