public class ImmutableFunctionModel extends AbstractParameterizedModel implements FunctionModel
FunctionModel
description, modelProperties
Constructor and Description |
---|
ImmutableFunctionModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
OutputModel output,
DisplayModel displayModel,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Modifier and Type | Method and Description |
---|---|
OutputModel |
getOutput()
Returns a
MetadataType for the value that this component sets
on the output Message.getPayload() field. |
getParameterGroupModels
checkArgument, equals, getDisplayModel, getName, hashCode, toString
copy, copy, getDescription, getModelProperties, getModelProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAllParameterModels, getParameterGroupModels
getName
getDescription
getModelProperties, getModelProperty
getDisplayModel
public ImmutableFunctionModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, OutputModel output, DisplayModel displayModel, Set<ModelProperty> modelProperties)
name
- the operation's name. Cannot be blankdescription
- the operation's descriptorparameterGroupModels
- a List
with the operation's parameter group models
output
- an OutputModel
which represents the operation's output contentdisplayModel
- a model which contains directive about how this operation is displayed in the UImodelProperties
- A Set
of custom properties which extend this modelIllegalArgumentException
- if name
is blank or executorFactory
is null
public OutputModel getOutput()
FunctionModel
MetadataType
for the value that this component sets
on the output Message.getPayload()
field.getOutput
in interface FunctionModel
MetadataType
representing the content type for the output messagesCopyright © 2018. All rights reserved.