public abstract class ComponentDeclarer<T extends ComponentDeclarer,D extends ComponentDeclaration> extends ConfigurableOutputDeclarer<D> implements HasModelProperties<ComponentDeclarer>, HasInterceptors<ComponentDeclarer>, HasExceptionEnricher<ComponentDeclarer>
ComponentDeclaration through a fluent APIdeclaration| Modifier and Type | Method and Description |
|---|---|
T |
describedAs(String description)
Adds a description
|
T |
withExceptionEnricherFactory(Optional<ExceptionEnricherFactory> enricherFactory)
Provides the given
ExceptionEnricherFactory |
T |
withInterceptorFrom(InterceptorFactory interceptorFactory)
Adds the given
interceptorFactory |
T |
withMetadataResolverFactory(MetadataResolverFactory metadataResolver)
Sets the given
metadataResolverFactory |
T |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
withOutput, withOutputAttributeswithOptionalParameter, withRequiredParametergetDeclarationpublic T describedAs(String description)
description - a descriptionthis declarerpublic T withInterceptorFrom(InterceptorFactory interceptorFactory)
interceptorFactorywithInterceptorFrom in interface HasInterceptors<ComponentDeclarer>interceptorFactory - a InterceptorFactorythis declarerpublic T withModelProperty(ModelProperty modelProperty)
modelPropertywithModelProperty in interface HasModelProperties<ComponentDeclarer>modelProperty - a ModelPropertythis declarerpublic T withExceptionEnricherFactory(Optional<ExceptionEnricherFactory> enricherFactory)
ExceptionEnricherFactorywithExceptionEnricherFactory in interface HasExceptionEnricher<ComponentDeclarer>enricherFactory - a concrete ExceptionEnricherFactorythis declarerpublic T withMetadataResolverFactory(MetadataResolverFactory metadataResolver)
metadataResolverFactorymetadataResolver - the MetadataResolverFactory associated to the enriched componentthis declarerCopyright © 2016 MuleSoft, Inc.. All rights reserved.