public interface ParameterModel extends Named, Described, EnrichableModel, Typed
Component or Configuration
A parameter provides a name, a type and a default value.
It can apply either to aConfigurationModel or a
ComponentModel| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
RESERVED_NAMES |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue()
The default value for this parameter.
|
ExpressionSupport |
getExpressionSupport()
The level of support
this parameter has for expressions |
boolean |
isRequired()
Whether or not this parameter is required.
|
getDescriptiongetModelProperties, getModelPropertygetType, hasDynamicTypeboolean isRequired()
getDefaultValue() in the sense that a required parameter cannot have a default
value. At the same time, if the parameter has a default value, then it makes no sense
to consider it as requiredExpressionSupport getExpressionSupport()
this parameter has for expressionsExpressionSupportObject getDefaultValue()
getExpressionSupport() returns ExpressionSupport.REQUIRED
or ExpressionSupport.SUPPORTED.
This method is exclusive with isRequired(). Check that method's comments for
more information on the semantics of this two methods.
Copyright © 2016 MuleSoft, Inc.. All rights reserved.