public class JavaFunctionModelParser extends Object implements FunctionModelParser
FunctionModelParser for Java based syntax| Modifier and Type | Field and Description |
|---|---|
protected List<org.mule.runtime.api.meta.model.ModelProperty> |
additionalModelProperties |
protected boolean |
connected |
protected ExtensionElement |
extensionElement |
protected org.mule.runtime.extension.api.loader.ExtensionLoadingContext |
loadingContext |
protected OutputModelParser |
outputAttributesType |
protected OutputModelParser |
outputType |
protected boolean |
supportsStreaming |
protected boolean |
transactional |
| Constructor and Description |
|---|
JavaFunctionModelParser(ExtensionElement extensionElement,
FunctionElement functionElement,
org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<org.mule.runtime.api.meta.model.ModelProperty> |
getAdditionalModelProperties()
Returns a list with all the
model properties to be applied at the extension level which are
specifically linked to the type of syntax used to define the extension. |
OutputModelParser |
getAttributesOutputType() |
protected String |
getComponentTypeName()
Returns a meaningful name which describes the type of component being parsed.
|
Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> |
getDeprecationModel() |
String |
getDescription() |
Optional<FunctionExecutorModelProperty> |
getFunctionExecutorModelProperty() |
String |
getName() |
OutputModelParser |
getOutputType() |
List<ParameterGroupModelParser> |
getParameterGroupModelParsers()
Returns a list with a
ParameterGroupModelParser per each parameter group defined in the function. |
Set<String> |
getSemanticTerms() |
Optional<org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty> |
getSinceMuleVersionModelProperty() |
int |
hashCode() |
boolean |
isConnected() |
boolean |
isIgnored() |
boolean |
isTransactional() |
protected void |
parseComponentByteStreaming(WithAnnotations element)
Parses the
component's byte streaming attributes and extract's the appropriate values |
protected void |
parseComponentConnectivity(WithParameters component)
Parses the
component's connectivity attributes and extract's the appropriate values |
boolean |
supportsStreaming() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetOutputTypegetAdditionalModelPropertiesprotected OutputModelParser outputType
protected OutputModelParser outputAttributesType
protected boolean supportsStreaming
protected boolean connected
protected boolean transactional
protected final ExtensionElement extensionElement
protected final org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext
protected final List<org.mule.runtime.api.meta.model.ModelProperty> additionalModelProperties
public JavaFunctionModelParser(ExtensionElement extensionElement, FunctionElement functionElement, org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext)
public String getName()
getName in interface FunctionModelParserpublic String getDescription()
getDescription in interface FunctionModelParserpublic List<ParameterGroupModelParser> getParameterGroupModelParsers()
FunctionModelParserParameterGroupModelParser per each parameter group defined in the function. Each group is
listed in the same order as defined in the syntax.getParameterGroupModelParsers in interface FunctionModelParserParameterGroupModelParserpublic boolean isIgnored()
isIgnored in interface FunctionModelParserExtensionModelpublic Optional<FunctionExecutorModelProperty> getFunctionExecutorModelProperty()
getFunctionExecutorModelProperty in interface FunctionModelParserFunctionExecutorModelProperty used to create the FunctionExecutor which brings the function to
lifepublic Set<String> getSemanticTerms()
getSemanticTerms in interface SemanticTermsParserSet with the model's semantic termsprotected String getComponentTypeName()
public Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> getDeprecationModel()
getDeprecationModel in interface FunctionModelParserDeprecationModel if one was definedpublic Optional<org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty> getSinceMuleVersionModelProperty()
getSinceMuleVersionModelProperty in interface FunctionModelParserprotected void parseComponentConnectivity(WithParameters component)
component's connectivity attributes and extract's the appropriate valuescomponent - the connected componentprotected void parseComponentByteStreaming(WithAnnotations element)
component's byte streaming attributes and extract's the appropriate valueselement - the connected componentpublic OutputModelParser getOutputType()
public OutputModelParser getAttributesOutputType()
public boolean supportsStreaming()
public boolean isConnected()
public boolean isTransactional()
public final List<org.mule.runtime.api.meta.model.ModelProperty> getAdditionalModelProperties()
model properties to be applied at the extension level which are
specifically linked to the type of syntax used to define the extension.getAdditionalModelProperties in interface AdditionalPropertiesModelParserModelProperty instances.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.