T - the generic type of the concrete declarerD - the generic type of the produced OperationDeclarationpublic abstract class ExecutableComponentDeclarer<T extends ExecutableComponentDeclarer,D extends ExecutableComponentDeclaration> extends ParameterizedDeclarer<T,D>
declarers which allow to construct an OperationDeclarationdeclaration| Modifier and Type | Method and 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
|
NestedChainDeclarer |
withChain()
Adds a component of the given
name |
NestedChainDeclarer |
withChain(String chainName)
Adds a component of the given
name |
NestedComponentDeclarer |
withComponent(String nestedComponentName)
Adds a component of the given
name |
T |
withErrorModel(ErrorModel error)
Adds an
ErrorModel to indicate that the current operation could throw the added error. |
T |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
NestedComponentDeclarer |
withOptionalComponent(String nestedComponentName)
Adds a component of the given
name |
OutputDeclarer |
withOutput()
Declares element output
|
OutputDeclarer |
withOutputAttributes()
Declares element output
|
NestedRouteDeclarer |
withRoute(String routeName)
Adds a component of the given
name |
T |
withStereotype(StereotypeModel stereotype)
Adds the given
stereotype |
describedAs, onDefaultParameterGroup, onParameterGroupgetDeclarationpublic OutputDeclarer withOutput()
OutputDeclarerpublic OutputDeclarer withOutputAttributes()
OutputDeclarerpublic T withErrorModel(ErrorModel error)
ErrorModel to indicate that the current operation could throw the added error.error - ErrorModel to add to the OperationDeclarationthis 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 NestedComponentDeclarer withOptionalComponent(String nestedComponentName)
namewithOptionalComponent in interface HasNestedComponentsnestedComponentName - a non blank nameNestedComponentDeclarer which allows describing the created componentpublic NestedComponentDeclarer withComponent(String nestedComponentName)
namewithComponent in interface HasNestedComponentsnestedComponentName - a non blank nameNestedComponentDeclarer which allows describing the created componentpublic NestedChainDeclarer withChain()
namewithChain in interface HasNestedComponentsNestedComponentDeclarer which allows describing the created componentpublic NestedChainDeclarer withChain(String chainName)
namewithChain in interface HasNestedComponentschainName - a non blank nameNestedComponentDeclarer which allows describing the created componentpublic NestedRouteDeclarer withRoute(String routeName)
namewithRoute in interface HasNestedRoutesrouteName - a non blank nameNestedComponentDeclarer which allows describing the created componentpublic T withStereotype(StereotypeModel stereotype)
stereotypestereotype - a StereotypeModelthis declarerpublic T withModelProperty(ModelProperty modelProperty)
modelPropertywithModelProperty in interface HasModelProperties<org.mule.runtime.api.meta.model.declaration.fluent.ComponentDeclarer>modelProperty - a ModelPropertythis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.