public class ParameterGroupDeclaration extends AbstractParameterDeclaration<ParameterGroupDeclaration>
ParameterGroupModel. It contains raw,
unvalidated data which is used to declare the structure of a ParameterGroupModel.layoutModel| Constructor and Description |
|---|
ParameterGroupDeclaration(String name) |
| Modifier and Type | Method and Description |
|---|---|
ParameterGroupDeclaration |
addExclusiveParameters(Set<String> parameterNames,
boolean requiresOne) |
ParameterGroupDeclaration |
addParameter(ParameterDeclaration parameter)
Adds a
ParameterDeclaration |
List<ExclusiveParametersDeclaration> |
getExclusiveParameters() |
List<ParameterDeclaration> |
getParameters() |
boolean |
isShowInDsl() |
void |
showInDsl(boolean showInDsl)
Sets the declaration of whether this
ParameterDeclaration represents
a ParameterGroupModel that will be shown inline in the DSL or instead
is represented as a set of standalone attributes. |
getLayoutModel, setLayoutModelgetNameaddModelProperty, getDescription, getDisplayModel, getModelProperties, getModelProperty, setDescription, setDisplayModelpublic ParameterGroupDeclaration(String name)
public List<ParameterDeclaration> getParameters()
List with the declarations
registered through addParameter(ParameterDeclaration)public ParameterGroupDeclaration addParameter(ParameterDeclaration parameter)
ParameterDeclarationparameter - a not null ParameterDeclaration{@link - IllegalArgumentException} if parameter is nullpublic ParameterGroupDeclaration addExclusiveParameters(Set<String> parameterNames, boolean requiresOne)
public List<ExclusiveParametersDeclaration> getExclusiveParameters()
public void showInDsl(boolean showInDsl)
ParameterDeclaration represents
a ParameterGroupModel that will be shown inline in the DSL or instead
is represented as a set of standalone attributes.showInDsl - true if the group should be shown explicitly inline in the DSLpublic boolean isShowInDsl()
true if the ParameterGroupModel has to be shown inline in the DSLCopyright © 2017 MuleSoft, Inc.. All rights reserved.