| 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 |
OpenObjectAnnotation
Specify that the given annotated object can have more properties than the ones specified on it.
|
class |
RegexPatternAnnotation
Pattern constrain for string types.
|
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) |
BooleanTypeBuilder<P> |
BooleanTypeBuilder.with(TypeAnnotation extension) |
ObjectFieldTypeBuilder<P> |
ObjectFieldTypeBuilder.with(TypeAnnotation extension) |
DateTypeBuilder<P> |
DateTypeBuilder.with(TypeAnnotation extension) |
T |
WithAnnotation.with(TypeAnnotation typeAnnotation)
Contributes a builder with
TypeAnnotations |
TimeTypeBuilder<P> |
TimeTypeBuilder.with(TypeAnnotation extension) |
StringTypeBuilder<P> |
StringTypeBuilder.with(TypeAnnotation extension) |
IntersectionTypeBuilder<P> |
IntersectionTypeBuilder.with(TypeAnnotation extension) |
DateTimeBuilder<P> |
DateTimeBuilder.with(TypeAnnotation extension) |
UnionTypeBuilder<P> |
UnionTypeBuilder.with(TypeAnnotation extension) |
AnyTypeBuilder<P> |
AnyTypeBuilder.with(TypeAnnotation extension) |
DictionaryTypeBuilder<P> |
DictionaryTypeBuilder.with(TypeAnnotation extension) |
TupleTypeBuilder<P> |
TupleTypeBuilder.with(TypeAnnotation extension) |
BinaryTypeBuilder<P> |
BinaryTypeBuilder.with(TypeAnnotation extension) |
NumberTypeBuilder<P> |
NumberTypeBuilder.with(TypeAnnotation extension) |
ObjectTypeBuilder<P> |
ObjectTypeBuilder.with(TypeAnnotation extension) |
ArrayTypeBuilder<P> |
ArrayTypeBuilder.with(TypeAnnotation extension) |
ObjectFieldTypeBuilder<P> |
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 © 2016 MuleSoft, Inc.. All rights reserved.