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