public class SpringComponentModel extends ComponentModel implements org.mule.runtime.ast.api.ComponentAst
ComponentModel that keeps references to a Spring bean specification.ComponentModel.BuilderCOMPONENT_MODEL_KEY| Constructor and Description |
|---|
SpringComponentModel() |
| Modifier and Type | Method and Description |
|---|---|
Spliterator<org.mule.runtime.ast.api.ComponentAst> |
directChildrenSpliterator() |
Stream<org.mule.runtime.ast.api.ComponentAst> |
directChildrenStream() |
org.springframework.beans.factory.config.BeanDefinition |
getBeanDefinition() |
org.springframework.beans.factory.config.BeanReference |
getBeanReference() |
Optional<String> |
getComponentId() |
org.mule.runtime.api.component.location.ComponentLocation |
getLocation() |
org.mule.runtime.ast.api.ComponentParameterAst |
getParameter(String paramName) |
Collection<org.mule.runtime.ast.api.ComponentParameterAst> |
getParameters() |
Optional<String> |
getRawParameterValue(String paramName) |
Spliterator<org.mule.runtime.ast.api.ComponentAst> |
recursiveSpliterator() |
Stream<org.mule.runtime.ast.api.ComponentAst> |
recursiveStream() |
void |
setBeanDefinition(org.springframework.beans.factory.config.BeanDefinition beanDefinition) |
void |
setBeanReference(org.springframework.beans.factory.config.BeanReference beanReference) |
void |
setParameter(org.mule.runtime.api.meta.model.parameter.ParameterModel parameterModel,
org.mule.runtime.ast.api.ComponentParameterAst value) |
String |
toString() |
equals, executedOnEveryInnerComponent, getComponentLocation, getComponentType, getConfigFileName, getConfiguration, getCustomAttributes, getIdentifier, getInnerComponents, getLineNumber, getMetadata, getModel, getNameAttribute, getObjectInstance, getParent, getRawParameters, getSourceCode, getStartColumn, getTextContent, getType, hashCode, isParameterValueProvidedBySchema, isRoot, isScope, resolveTypedComponentIdentifier, setComponentLocation, setComponentModel, setComponentType, setConfigurationModel, setConnectionProviderModel, setMetadataTypeModelAdapter, setNestableElementModel, setObjectInstance, setParent, setRoot, setTypepublic void setBeanDefinition(org.springframework.beans.factory.config.BeanDefinition beanDefinition)
beanDefinition - the BeanDefinition created based on the ComponentModel values.public org.springframework.beans.factory.config.BeanDefinition getBeanDefinition()
BeanDefinition created based on the ComponentModel values.public void setBeanReference(org.springframework.beans.factory.config.BeanReference beanReference)
beanReference - the BeanReference that represents this object.public org.springframework.beans.factory.config.BeanReference getBeanReference()
BeanReference that represents this object.public org.mule.runtime.api.component.location.ComponentLocation getLocation()
getLocation in interface org.mule.runtime.ast.api.ComponentAstpublic Optional<String> getComponentId()
getComponentId in interface org.mule.runtime.ast.api.ComponentAstpublic Optional<String> getRawParameterValue(String paramName)
getRawParameterValue in interface org.mule.runtime.ast.api.ComponentAstpublic void setParameter(org.mule.runtime.api.meta.model.parameter.ParameterModel parameterModel,
org.mule.runtime.ast.api.ComponentParameterAst value)
setParameter in class ComponentModelparameterName - name of the configuration parameter.value - value contained by the configuration parameter.public org.mule.runtime.ast.api.ComponentParameterAst getParameter(String paramName)
getParameter in interface org.mule.runtime.ast.api.ComponentAstparamName - the name of the parameter to get AST for.Optional.empty() if not present.public Collection<org.mule.runtime.ast.api.ComponentParameterAst> getParameters()
getParameters in interface org.mule.runtime.ast.api.ComponentAstpublic Stream<org.mule.runtime.ast.api.ComponentAst> recursiveStream()
recursiveStream in interface org.mule.runtime.ast.api.ComponentAstpublic Spliterator<org.mule.runtime.ast.api.ComponentAst> recursiveSpliterator()
recursiveSpliterator in interface org.mule.runtime.ast.api.ComponentAstpublic Stream<org.mule.runtime.ast.api.ComponentAst> directChildrenStream()
directChildrenStream in interface org.mule.runtime.ast.api.ComponentAstpublic Spliterator<org.mule.runtime.ast.api.ComponentAst> directChildrenSpliterator()
directChildrenSpliterator in interface org.mule.runtime.ast.api.ComponentAstCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.