| Modifier and Type | Method and Description |
|---|---|
MetadataResult<ComponentMetadataDescriptor> |
MetadataAware.getMetadata()
Resolves the
ComponentMetadataDescriptor for the current component using
only the static types of the Component's parameters, attributes and output. |
MetadataResult<ComponentMetadataDescriptor> |
MetadataManager.getMetadata(ComponentId componentId)
Resolves the
ComponentMetadataDescriptor for the MetadataAware Component
identified by the ComponentId using only the static types of its parameters, attributes and output. |
MetadataResult<ComponentMetadataDescriptor> |
MetadataManager.getMetadata(ComponentId componentId,
MetadataKey key)
Resolves the
ComponentMetadataDescriptor for the MetadataAware Component
identified by the ComponentId using both static and dynamic resolving of
the parameters, attributes and output types. |
MetadataResult<ComponentMetadataDescriptor> |
MetadataAware.getMetadata(MetadataKey key)
Resolves the
ComponentMetadataDescriptor for the current component using
both static and dynamic resolving of the Component's parameters, attributes and output. |
MetadataResult<Set<MetadataKey>> |
MetadataAware.getMetadataKeys()
Returns the list of types that can be described, by the
MetadataKeysResolver
associated to this Component |
MetadataResult<Set<MetadataKey>> |
MetadataManager.getMetadataKeys(ComponentId componentId)
Returns the list of types that can be described by the
MetadataKeysResolver
associated to the MetadataAware Component identified by the ComponentId. |
| Modifier and Type | Method and Description |
|---|---|
MetadataResult<TypeMetadataDescriptor> |
ImmutableOutputMetadataDescriptor.getAttributesMetadata() |
MetadataResult<TypeMetadataDescriptor> |
OutputMetadataDescriptor.getAttributesMetadata() |
MetadataResult<OutputMetadataDescriptor> |
ImmutableComponentMetadataDescriptor.getOutputMetadata() |
MetadataResult<OutputMetadataDescriptor> |
ComponentMetadataDescriptor.getOutputMetadata() |
MetadataResult<TypeMetadataDescriptor> |
ImmutableOutputMetadataDescriptor.getPayloadMetadata() |
MetadataResult<TypeMetadataDescriptor> |
OutputMetadataDescriptor.getPayloadMetadata() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataResult<ParameterMetadataDescriptor>> |
ImmutableComponentMetadataDescriptor.getContentMetadata() |
Optional<MetadataResult<ParameterMetadataDescriptor>> |
ComponentMetadataDescriptor.getContentMetadata() |
List<MetadataResult<ParameterMetadataDescriptor>> |
ImmutableComponentMetadataDescriptor.getParametersMetadata() |
List<MetadataResult<ParameterMetadataDescriptor>> |
ComponentMetadataDescriptor.getParametersMetadata() |
| Constructor and Description |
|---|
ImmutableComponentMetadataDescriptor(String componentName,
List<MetadataResult<ParameterMetadataDescriptor>> parameters,
MetadataResult<OutputMetadataDescriptor> output,
MetadataResult<ParameterMetadataDescriptor> content) |
ImmutableComponentMetadataDescriptor(String componentName,
List<MetadataResult<ParameterMetadataDescriptor>> parameters,
MetadataResult<OutputMetadataDescriptor> output,
MetadataResult<ParameterMetadataDescriptor> content) |
ImmutableOutputMetadataDescriptor(MetadataResult<TypeMetadataDescriptor> content,
MetadataResult<TypeMetadataDescriptor> attributes) |
ImmutableOutputMetadataDescriptor(MetadataResult<TypeMetadataDescriptor> content,
MetadataResult<TypeMetadataDescriptor> attributes) |
| Constructor and Description |
|---|
ImmutableComponentMetadataDescriptor(String componentName,
List<MetadataResult<ParameterMetadataDescriptor>> parameters,
MetadataResult<OutputMetadataDescriptor> output,
MetadataResult<ParameterMetadataDescriptor> content) |
| Modifier and Type | Method and Description |
|---|---|
OutputMetadataDescriptorBuilder |
OutputMetadataDescriptorBuilder.withAttributesType(MetadataResult<TypeMetadataDescriptor> attributesTypeResult)
Adds a
MetadataResult of TypeMetadataDescriptor that describes the
he output MuleMessage.getAttributes() MetadataType. |
ComponentMetadataDescriptorBuilder |
ComponentMetadataDescriptorBuilder.withContentDescriptor(MetadataResult<ParameterMetadataDescriptor> content) |
ComponentMetadataDescriptorBuilder |
ComponentMetadataDescriptorBuilder.withOutputDescriptor(MetadataResult<OutputMetadataDescriptor> output) |
OutputMetadataDescriptorBuilder |
OutputMetadataDescriptorBuilder.withReturnType(MetadataResult<TypeMetadataDescriptor> returnTypeResult)
Adds a
MetadataResult of TypeMetadataDescriptor that describes the
return type of the component. |
| Modifier and Type | Method and Description |
|---|---|
ComponentMetadataDescriptorBuilder |
ComponentMetadataDescriptorBuilder.withParametersDescriptor(List<MetadataResult<ParameterMetadataDescriptor>> parameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableMetadataResult<T>
Immutable concrete implementation of
MetadataResult |
| Modifier and Type | Method and Description |
|---|---|
static <T> MetadataResult<T> |
MetadataResult.failure(Exception e)
Creates a failure result obtaining the information from the occurred exception
when there is no payload for the result
|
static <T> MetadataResult<T> |
MetadataResult.failure(T payload,
Exception e)
Creates a failure result obtaining the information from the occurred exception
|
static <T> MetadataResult<T> |
MetadataResult.failure(T newPayload,
MetadataResult<?> originalResult)
Used for transforming the payload of a result with an enriched new payload, while
preserving the original
MetadataResult information |
static <T> MetadataResult<T> |
MetadataResult.failure(T payload,
String message,
Exception e)
Creates a failure result obtaining the information from the occurred exception
with a customized failure message
|
static <T> MetadataResult<T> |
MetadataResult.failure(T payload,
String message,
FailureCode failure,
String reason) |
static <T> MetadataResult<T> |
MetadataResult.success(T payload) |
| Modifier and Type | Method and Description |
|---|---|
static <T> MetadataResult<T> |
MetadataResult.failure(T newPayload,
MetadataResult<?> originalResult)
Used for transforming the payload of a result with an enriched new payload, while
preserving the original
MetadataResult information |
Copyright © 2016 MuleSoft, Inc.. All rights reserved.