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,
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,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance with the given state
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
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() |
boolean |
hasDynamicType() |
boolean |
isOverrideFromConfig() |
boolean |
isRequired() |
checkArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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, 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 UImodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - 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.ParameterModelCopyright © 2017 MuleSoft, Inc.. All rights reserved.