public class ImmutableNestedRouteModel extends AbstractParameterizedModel implements org.mule.runtime.api.meta.model.nested.NestedRouteModel
NestedRouteModeldescription, modelProperties| Constructor and Description |
|---|
ImmutableNestedRouteModel(String name,
String description,
List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
int minOccurs,
Integer maxOccurs,
List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor) |
Optional<Integer> |
getMaxOccurs() |
int |
getMinOccurs() |
List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> |
getNestedComponents() |
boolean |
isRequired() |
getParameterGroupModelscheckArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetModelProperties, getModelPropertygetDisplayModelpublic ImmutableNestedRouteModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> childComponents, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the model's namedescription - the model's descriptionparameterGroupModels - a List with the component's parameter group modelsdisplayModel - a model which contains directive about how this component is displayed in the UIminOccurs - the minimum number of instances required for this kind of routemaxOccurs - the maximum number of instances allowed for this kind of routemodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - if name is blankpublic boolean isRequired()
isRequired in interface org.mule.runtime.api.meta.model.nested.NestableElementModelpublic void accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor)
accept in interface org.mule.runtime.api.meta.model.nested.NestableElementModelpublic int getMinOccurs()
getMinOccurs in interface org.mule.runtime.api.meta.model.nested.NestedRouteModelpublic Optional<Integer> getMaxOccurs()
getMaxOccurs in interface org.mule.runtime.api.meta.model.nested.NestedRouteModelpublic List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> getNestedComponents()
getNestedComponents in interface org.mule.runtime.api.meta.model.ComposableModelCopyright © 2017 MuleSoft, Inc.. All rights reserved.