Class AbstractParameterizedModel
java.lang.Object
org.mule.runtime.extension.api.model.AbstractImmutableModel
org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel
- All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject,org.mule.runtime.api.meta.model.display.HasDisplayModel,org.mule.runtime.api.meta.model.EnrichableModel,org.mule.runtime.api.meta.model.parameter.ParameterizedModel,org.mule.runtime.api.meta.NamedObject
- Direct Known Subclasses:
AbstractStereotypedModel,ImmutableFunctionModel,ImmutableSourceCallbackModel
public abstract class AbstractParameterizedModel
extends AbstractNamedImmutableModel
implements org.mule.runtime.api.meta.model.parameter.ParameterizedModel
Base class for immutable implementation of
ParameterizedModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractParameterizedModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instance -
Method Summary
Methods inherited from class org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
checkArgument, equals, getDisplayModel, getName, hashCodeMethods inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
copy, copy, getDescription, getModelProperties, getModelPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.mule.runtime.api.meta.DescribedObject
getDescriptionMethods inherited from interface org.mule.runtime.api.meta.NamedObject
getNameMethods inherited from interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel
getAllParameterModels
-
Constructor Details
-
AbstractParameterizedModel
protected AbstractParameterizedModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instance- Parameters:
name- the model's namedescription- the model's descriptionparameterGroupModels- aListwith the component'sparameter group modelsdisplayModel- a model which contains directive about how this component is displayed in the UImodelProperties- ASetof custom properties which extend this model- Throws:
IllegalArgumentException- ifnameis blank
-
-
Method Details
-
getParameterGroupModels
public List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> getParameterGroupModels()- Specified by:
getParameterGroupModelsin interfaceorg.mule.runtime.api.meta.model.parameter.ParameterizedModel
-
toString
- Overrides:
toStringin classAbstractNamedImmutableModel
-