public final class ImmutableParameterModel extends AbstractNamedImmutableModel implements org.mule.runtime.api.meta.model.parameter.ParameterModel
ParameterModeldescription, modelProperties| Constructor and Description |
|---|
ImmutableParameterModel(String name,
String description,
org.mule.metadata.api.model.MetadataType type,
boolean hasDynamicType,
boolean required,
boolean isConfigOverride,
boolean isComponentId,
org.mule.runtime.api.meta.ExpressionSupport expressionSupport,
Object defaultValue,
org.mule.runtime.api.meta.model.parameter.ParameterRole role,
org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
org.mule.runtime.api.meta.model.display.LayoutModel layoutModel,
org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel,
List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance with the given state
|
ImmutableParameterModel(String name,
String description,
org.mule.metadata.api.model.MetadataType type,
boolean hasDynamicType,
boolean required,
boolean isConfigOverride,
boolean isComponentId,
org.mule.runtime.api.meta.ExpressionSupport expressionSupport,
Object defaultValue,
org.mule.runtime.api.meta.model.parameter.ParameterRole role,
org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
org.mule.runtime.api.meta.model.display.LayoutModel layoutModel,
org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel,
List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties,
org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel)
Creates a new instance with the given state
|
ImmutableParameterModel(String name,
String description,
org.mule.metadata.api.model.MetadataType type,
boolean hasDynamicType,
boolean required,
boolean isConfigOverride,
org.mule.runtime.api.meta.ExpressionSupport expressionSupport,
Object defaultValue,
org.mule.runtime.api.meta.model.parameter.ParameterRole role,
org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
org.mule.runtime.api.meta.model.display.LayoutModel layoutModel,
org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel,
List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> |
getAllowedStereotypes() |
Object |
getDefaultValue() |
Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> |
getDeprecationModel() |
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() |
org.mule.runtime.api.meta.model.parameter.ParameterRole |
getRole() |
org.mule.metadata.api.model.MetadataType |
getType() |
Optional<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> |
getValueProviderModel() |
boolean |
hasDynamicType() |
boolean |
isComponentId() |
boolean |
isDeprecated() |
boolean |
isOverrideFromConfig() |
boolean |
isRequired() |
String |
toString() |
checkArgument, equals, getDisplayModel, getName, hashCodecopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, wait@Deprecated public ImmutableParameterModel(String name, String description, org.mule.metadata.api.model.MetadataType type, boolean hasDynamicType, boolean required, boolean isConfigOverride, org.mule.runtime.api.meta.ExpressionSupport expressionSupport, Object defaultValue, org.mule.runtime.api.meta.model.parameter.ParameterRole role, org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.display.LayoutModel layoutModel, org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel, List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the parameter's name. Cannot be blank.description - the parameter's descriptiontype - the parameter's MetadataType. Cannot be nullhasDynamicType - if the given type is of dynamic kind and has to be discovered during design timerequired - whether this parameter is required or notexpressionSupport - the ExpressionSupport that applies to this ParameterModeldefaultValue - this parameter's default valuerole - this parameter's purposedslConfiguration - a model which describes the DSL semantics for this parameterdisplayModel - a model which contains directive about how the parameter is displayed in the UIlayoutModel - a model which contains directives about the parameter's layout in the UIallowedStereotypeModels - A Set with the stereotypes of the allowed valuesmodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - if required is true and defaultValue is not null at the same timepublic ImmutableParameterModel(String name, String description, org.mule.metadata.api.model.MetadataType type, boolean hasDynamicType, boolean required, boolean isConfigOverride, boolean isComponentId, org.mule.runtime.api.meta.ExpressionSupport expressionSupport, Object defaultValue, org.mule.runtime.api.meta.model.parameter.ParameterRole role, org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.display.LayoutModel layoutModel, org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel, List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the parameter's name. Cannot be blank.description - the parameter's descriptiontype - the parameter's MetadataType. Cannot be nullhasDynamicType - if the given type is of dynamic kind and has to be discovered during design timerequired - whether this parameter is required or notisConfigOverride - whether this parameter is a configuration override or notisComponentId - whether this parameter serves as a ComponentModel ID or notexpressionSupport - the ExpressionSupport that applies to this ParameterModeldefaultValue - this parameter's default valuerole - this parameter's purposedslConfiguration - a model which describes the DSL semantics for this parameterdisplayModel - a model which contains directive about how the parameter is displayed in the UIlayoutModel - a model which contains directives about the parameter's layout in the UIallowedStereotypeModels - A Set with the stereotypes of the allowed valuesmodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - if required is true and defaultValue is not null at the same timepublic ImmutableParameterModel(String name, String description, org.mule.metadata.api.model.MetadataType type, boolean hasDynamicType, boolean required, boolean isConfigOverride, boolean isComponentId, org.mule.runtime.api.meta.ExpressionSupport expressionSupport, Object defaultValue, org.mule.runtime.api.meta.model.parameter.ParameterRole role, org.mule.runtime.api.meta.model.ParameterDslConfiguration dslConfiguration, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.display.LayoutModel layoutModel, org.mule.runtime.api.meta.model.parameter.ValueProviderModel valueProviderModel, List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypeModels, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel)
name - the parameter's name. Cannot be blank.description - the parameter's descriptiontype - the parameter's MetadataType. Cannot be nullhasDynamicType - if the given type is of dynamic kind and has to be discovered during design timerequired - whether this parameter is required or notisConfigOverride - whether this parameter is a configuration override or notisComponentId - whether this parameter serves as a ComponentModel ID or notexpressionSupport - the ExpressionSupport that applies to this ParameterModeldefaultValue - this parameter's default valuerole - this parameter's purposedslConfiguration - a model which describes the DSL semantics for this parameterdisplayModel - a model which contains directive about how the parameter is displayed in the UIlayoutModel - a model which contains directives about the parameter's layout in the UIallowedStereotypeModels - A Set with the stereotypes of the allowed valuesmodelProperties - A Set of custom properties which extend this modeldeprecationModel - a DeprecationModel describing if the parameter is deprecated. A null value means it is not
deprecated.IllegalArgumentException - if required is true and defaultValue is not null at the same
timepublic org.mule.metadata.api.model.MetadataType getType()
getType in interface org.mule.runtime.api.meta.Typedpublic boolean hasDynamicType()
hasDynamicType in interface org.mule.runtime.api.meta.Typedpublic boolean isRequired()
isRequired in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic boolean isOverrideFromConfig()
isOverrideFromConfig in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic org.mule.runtime.api.meta.ExpressionSupport getExpressionSupport()
getExpressionSupport in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic Object getDefaultValue()
getDefaultValue in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic org.mule.runtime.api.meta.model.ParameterDslConfiguration getDslConfiguration()
getDslConfiguration in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic org.mule.runtime.api.meta.model.parameter.ParameterRole getRole()
getRole in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic Optional<org.mule.runtime.api.meta.model.display.LayoutModel> getLayoutModel()
getLayoutModel in interface org.mule.runtime.api.meta.model.display.HasLayoutModelgetLayoutModel in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic List<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> getAllowedStereotypes()
getAllowedStereotypes in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic Optional<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> getValueProviderModel()
getValueProviderModel in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic boolean isComponentId()
isComponentId in interface org.mule.runtime.api.meta.model.parameter.ParameterModelpublic Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> getDeprecationModel()
getDeprecationModel in interface org.mule.runtime.api.meta.model.deprecated.DeprecableModelpublic boolean isDeprecated()
isDeprecated in interface org.mule.runtime.api.meta.model.deprecated.DeprecableModelpublic String toString()
toString in class AbstractNamedImmutableModelCopyright © 2020 MuleSoft, Inc.. All rights reserved.