Class AbstractImmutableModel
java.lang.Object
org.mule.runtime.extension.api.model.AbstractImmutableModel
- All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject,org.mule.runtime.api.meta.model.EnrichableModel
- Direct Known Subclasses:
AbstractNamedImmutableModel,ImmutableOutputModel
public abstract class AbstractImmutableModel
extends Object
implements org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.EnrichableModel
Base class for immutable implementations of a
DescribedObject EnrichableModel model- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractImmutableModel(String description, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instance -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidcheckArgument(boolean condition, String message) protected <T> List<T>protected <T> Set<T>final StringSet<org.mule.runtime.api.meta.model.ModelProperty><T extends org.mule.runtime.api.meta.model.ModelProperty>
Optional<T>getModelProperty(Class<T> propertyType) toString()
-
Field Details
-
description
-
modelProperties
-
-
Constructor Details
-
Method Details
-
checkArgument
-
getDescription
- Specified by:
getDescriptionin interfaceorg.mule.runtime.api.meta.DescribedObject
-
getModelProperty
public <T extends org.mule.runtime.api.meta.model.ModelProperty> Optional<T> getModelProperty(Class<T> propertyType) - Specified by:
getModelPropertyin interfaceorg.mule.runtime.api.meta.model.EnrichableModel
-
getModelProperties
- Specified by:
getModelPropertiesin interfaceorg.mule.runtime.api.meta.model.EnrichableModel
-
toString
-
copy
-
copy
-