public class OptionalParameterDeclarer extends ParameterDeclarer<OptionalParameterDeclarer>
ParameterDeclarer for optional parameters. It allows adding properties that only apply to optional
parameters| Modifier and Type | Method and Description |
|---|---|
OptionalParameterDeclarer |
defaultingTo(Object defaultValue)
Adds a default value for the parameter
|
asComponentId, asConfigOverride, describedAs, getDeclaration, ofDynamicType, ofType, withAllowedStereotypes, withDeprecation, withDisplayModel, withDsl, withExpressionSupport, withFieldValueProviderModels, withLayout, withModelProperty, withRole, withSemanticTerm, withValueProviderModelpublic OptionalParameterDeclarer defaultingTo(Object defaultValue)
defaultValue - a default valueCopyright © 2025 MuleSoft, Inc.. All rights reserved.