public abstract class ComponentDeclarer<T extends ComponentDeclarer,D extends ComponentDeclaration> extends ConfigurableOutputDeclarer<D> implements HasModelProperties<ComponentDeclarer>
ComponentDeclaration through a fluent APIdeclaration| Constructor and Description |
|---|
ComponentDeclarer(D declaration)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
T |
describedAs(String description)
Adds a description
|
T |
requiresConnection(boolean requiresConnection)
Specifies if this component requires a connection in order to perform its task
|
T |
supportsStreaming(boolean supportsStreaming)
Specifies if this component supports streaming.
|
T |
transactional(boolean transactional)
Specifies if this component has the ability to execute while joining a transaction
|
T |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
T |
withStereotype(Stereotype stereotype)
Adds the given
stereotype |
withOutput, withOutputAttributesonDefaultParameterGroup, onParameterGroupgetDeclarationpublic ComponentDeclarer(D declaration)
declaration - the ComponentDeclaration which will be configuredpublic T describedAs(String description)
description - a descriptionthis declarerpublic T transactional(boolean transactional)
transactional - whether the component is transactional or notthis declarerpublic T requiresConnection(boolean requiresConnection)
requiresConnection - whether the component requires a connection or notthis declarerpublic T supportsStreaming(boolean supportsStreaming)
supportsStreaming - whether the component supports streaming or notthis declarerpublic T withModelProperty(ModelProperty modelProperty)
modelPropertywithModelProperty in interface HasModelProperties<ComponentDeclarer>modelProperty - a ModelPropertythis declarerpublic T withStereotype(Stereotype stereotype)
stereotypestereotype - a Stereotypethis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.