public abstract class AbstractComponentModel extends AbstractParameterizedModel implements ComponentModel
ComponentModel| Modifier | Constructor and Description |
|---|---|
protected |
AbstractComponentModel(String name,
String description,
Set<ModelProperty> modelProperties,
List<ParameterModel> parameterModels,
OutputModel output,
OutputModel outputAttributes)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
OutputModel |
getOutput()
Returns a
MetadataType for the value that this component sets
on the output Message.getPayload() field. |
OutputModel |
getOutputAttributes()
Returns a
MetadataType for the value that this component sets
on the output Message.getAttributes() field. |
getParameterModelscheckArgument, equals, getName, hashCode, toStringgetDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetModelProperties, getModelPropertygetParameterModelsgetDescriptionprotected AbstractComponentModel(String name, String description, Set<ModelProperty> modelProperties, List<ParameterModel> parameterModels, OutputModel output, OutputModel outputAttributes)
name - the model's namedescription - the model's descriptionmodelProperties - A Set of custom properties which extend this modelparameterModels - a List with the source's parameterModelsoutput - an OutputModel which represents the component's output contentoutputAttributes - an OutputModel which represents the component's attributes on the output MessageIllegalArgumentException - if name is blankpublic OutputModel getOutput()
MetadataType for the value that this component sets
on the output Message.getPayload() field.getOutput in interface ComponentModelMetadataType representing the content type for the output messagespublic OutputModel getOutputAttributes()
MetadataType for the value that this component sets
on the output Message.getAttributes() field.getOutputAttributes in interface ComponentModelMetadataType representing the attribute types for the output messagesCopyright © 2016 MuleSoft, Inc.. All rights reserved.