public class JavaParameterModelParser extends Object implements ParameterModelParser
ParameterModelParser for Java based syntax| Constructor and Description |
|---|
JavaParameterModelParser(ExtensionParameter parameter,
Optional<ParameterGroupModelParser.ExclusiveOptionalDescriptor> exclusiveOptionals,
ParameterDeclarationContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.api.meta.model.ModelProperty> |
getAdditionalModelProperties()
Returns a list with all the
model properties to be applied at the parameter level which are
specifically linked to the type of syntax used to define the extension. |
List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> |
getAllowedStereotypes(StereotypeModelFactory factory)
Returns a
List of allowed stereotypes. |
Object |
getDefaultValue() |
Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> |
getDeprecationModel() |
String |
getDescription() |
Optional<org.mule.runtime.api.meta.model.display.DisplayModel> |
getDisplayModel() |
Optional<org.mule.runtime.api.meta.model.ParameterDslConfiguration> |
getDslConfiguration() |
org.mule.runtime.api.meta.ExpressionSupport |
getExpressionSupport() |
Optional<org.mule.runtime.api.meta.model.display.LayoutModel> |
getLayoutModel() |
String |
getName() |
Optional<org.mule.runtime.extension.api.connectivity.oauth.OAuthParameterModelProperty> |
getOAuthParameterModelProperty() |
org.mule.runtime.api.meta.model.parameter.ParameterRole |
getRole() |
Set<String> |
getSemanticTerms() |
Optional<org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty> |
getSinceMuleVersionModelProperty() |
org.mule.metadata.api.model.MetadataType |
getType() |
boolean |
isComponentId() |
boolean |
isConfigOverride() |
boolean |
isExcludedFromConnectivitySchema() |
boolean |
isRequired() |
public JavaParameterModelParser(ExtensionParameter parameter, Optional<ParameterGroupModelParser.ExclusiveOptionalDescriptor> exclusiveOptionals, ParameterDeclarationContext context)
public String getName()
getName in interface ParameterModelParserpublic String getDescription()
getDescription in interface ParameterModelParserpublic org.mule.metadata.api.model.MetadataType getType()
getType in interface ParameterModelParserMetadataType describing the parameter's typepublic boolean isRequired()
isRequired in interface ParameterModelParserpublic Object getDefaultValue()
getDefaultValue in interface ParameterModelParsernull if the parameter is required or no default value providedpublic org.mule.runtime.api.meta.model.parameter.ParameterRole getRole()
getRole in interface ParameterModelParserrolepublic org.mule.runtime.api.meta.ExpressionSupport getExpressionSupport()
getExpressionSupport in interface ParameterModelParserExpressionSupportpublic Optional<org.mule.runtime.api.meta.model.display.LayoutModel> getLayoutModel()
getLayoutModel in interface ParameterModelParserLayoutModel if one was definedpublic Optional<org.mule.runtime.api.meta.model.ParameterDslConfiguration> getDslConfiguration()
getDslConfiguration in interface ParameterModelParserParameterDslConfiguration if one was definedpublic Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> getDeprecationModel()
getDeprecationModel in interface ParameterModelParserDeprecationModel if one was definedpublic Optional<org.mule.runtime.api.meta.model.display.DisplayModel> getDisplayModel()
getDisplayModel in interface ParameterModelParserDisplayModelpublic boolean isConfigOverride()
isConfigOverride in interface ParameterModelParserpublic boolean isComponentId()
isComponentId in interface ParameterModelParserpublic List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> getAllowedStereotypes(StereotypeModelFactory factory)
AllowedStereotypesModelParserList of allowed stereotypes. Each item is created through the provided factory.getAllowedStereotypes in interface AllowedStereotypesModelParserfactory - a StereotypeModelFactorynullpublic List<org.mule.runtime.api.meta.model.ModelProperty> getAdditionalModelProperties()
ParameterModelParsermodel properties to be applied at the parameter level which are
specifically linked to the type of syntax used to define the extension.getAdditionalModelProperties in interface ParameterModelParserModelProperty instances.public boolean isExcludedFromConnectivitySchema()
isExcludedFromConnectivitySchema in interface ParameterModelParserpublic Set<String> getSemanticTerms()
getSemanticTerms in interface SemanticTermsParserSet with the model's semantic termspublic Optional<org.mule.runtime.extension.api.connectivity.oauth.OAuthParameterModelProperty> getOAuthParameterModelProperty()
getOAuthParameterModelProperty in interface ParameterModelParserOAuthParameterModelPropertypublic Optional<org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty> getSinceMuleVersionModelProperty()
getSinceMuleVersionModelProperty in interface ParameterModelParserCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.