Class ImmutableFunctionModel
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
org.mule.runtime.extension.api.model.function.ImmutableFunctionModel
- All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject,org.mule.runtime.api.meta.model.deprecated.DeprecableModel,org.mule.runtime.api.meta.model.display.HasDisplayModel,org.mule.runtime.api.meta.model.EnrichableModel,org.mule.runtime.api.meta.model.function.FunctionModel,org.mule.runtime.api.meta.model.parameter.ParameterizedModel,org.mule.runtime.api.meta.model.version.HasMinMuleVersion,org.mule.runtime.api.meta.NamedObject
public class ImmutableFunctionModel
extends AbstractParameterizedModel
implements org.mule.runtime.api.meta.model.function.FunctionModel
Immutable concrete implementation of
FunctionModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsConstructorDescriptionImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instance with the given stateImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instance with the given stateImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.MuleVersion minMuleVersion) Creates a new instance with the given state -
Method Summary
Methods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel
getParameterGroupModelsMethods 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.model.EnrichableModel
getModelProperties, getModelPropertyMethods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel
getDisplayModelMethods inherited from interface org.mule.runtime.api.meta.NamedObject
getNameMethods inherited from interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel
getAllParameterModels, getParameterGroupModels
-
Constructor Details
-
ImmutableFunctionModel
public ImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Creates a new instance with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsoutput- anOutputModelwhich represents the operation's output contentdisplayModel- a model which contains directive about how this operation is displayed in the UImodelProperties- ASetof custom properties which extend this model- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
ImmutableFunctionModel
public ImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instance with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsoutput- anOutputModelwhich represents the operation's output contentdisplayModel- a model which contains directive about how this operation is displayed in the UImodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the function is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull
-
ImmutableFunctionModel
public ImmutableFunctionModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.OutputModel output, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.meta.MuleVersion minMuleVersion) Creates a new instance with the given state- Parameters:
name- the operation's name. Cannot be blankdescription- the operation's descriptorparameterGroupModels- aListwith the operation'sparameter group modelsoutput- anOutputModelwhich represents the operation's output contentdisplayModel- a model which contains directive about how this operation is displayed in the UImodelProperties- ASetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the function is deprecated. A null value means it is not deprecated.minMuleVersion- the min mule version of the function- Throws:
IllegalArgumentException- ifnameis blank orexecutorFactoryisnull- Since:
- 1.5
-
-
Method Details
-
getOutput
public org.mule.runtime.api.meta.model.OutputModel getOutput()- Specified by:
getOutputin interfaceorg.mule.runtime.api.meta.model.function.FunctionModel
-
getDeprecationModel
- Specified by:
getDeprecationModelin interfaceorg.mule.runtime.api.meta.model.deprecated.DeprecableModel
-
isDeprecated
public boolean isDeprecated()- Specified by:
isDeprecatedin interfaceorg.mule.runtime.api.meta.model.deprecated.DeprecableModel
-
getMinMuleVersion
- Specified by:
getMinMuleVersionin interfaceorg.mule.runtime.api.meta.model.version.HasMinMuleVersion
-
toString
- Overrides:
toStringin classAbstractParameterizedModel
-