public class OperationDeclarer extends ExecutableComponentDeclarer<OperationDeclarer,OperationDeclaration>
OperationDeclaration through a fluent APIdeclaration| Modifier and Type | Method and Description |
|---|---|
OperationDeclarer |
blocking(boolean blocking)
Specifies if the operation is blocking or it allows non blocking execution
|
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 |
OperationDeclarer |
withExecutionType(ExecutionType executionType)
Specifies the operation's
ExecutionType |
T |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
NestedComponentDeclarer |
withOptionalComponent(String nestedComponentName)
Adds a component of the given
name |
NestedRouteDeclarer |
withRoute(String routeName)
Adds a component of the given
name |
T |
withStereotype(StereotypeModel stereotype)
Adds the given
stereotype |
requiresConnection, supportsStreaming, transactional, withErrorModel, withOutput, withOutputAttributesdescribedAs, onDefaultParameterGroup, onParameterGroupgetDeclarationpublic OperationDeclarer withExecutionType(ExecutionType executionType)
ExecutionTypeexecutionType - the execution typethis declarerpublic OperationDeclarer blocking(boolean blocking)
blocking - whether the operation is blocking 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.