public class SourceModel extends Object implements ComponentModel
ExtensionModel.| Constructor and Description |
|---|
SourceModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
DisplayModel displayModel,
OutputModel output,
OutputModel outputAttributes,
boolean transactional,
boolean requiresConnection,
boolean supportsStreaming,
StereotypeModel stereotype,
boolean hasResponse,
SourceCallbackModel successCallback,
SourceCallbackModel errorCallback,
SourceCallbackModel terminateCallbackModel,
Set<ErrorModel> errors,
List<? extends NestableElementModel> nestedComponents,
MetadataKeyIdModel metadataKeyIdModel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Returns the component's description
|
Optional<DisplayModel> |
getDisplayModel() |
Optional<SourceCallbackModel> |
getErrorCallback() |
Set<ErrorModel> |
getErrorModels() |
Optional<MetadataKeyIdModel> |
getMetadataKeyIdModel() |
String |
getName()
Gets the name of the object
|
List<? extends NestableElementModel> |
getNestedComponents() |
OutputModel |
getOutput() |
OutputModel |
getOutputAttributes() |
Optional<ParameterGroupModel> |
getParameterGroupModel(String name) |
List<ParameterGroupModel> |
getParameterGroupModels() |
StereotypeModel |
getStereotype() |
Optional<SourceCallbackModel> |
getSuccessCallback() |
Optional<SourceCallbackModel> |
getTerminateCallback() |
int |
hashCode() |
boolean |
hasResponse() |
boolean |
isTransactional() |
boolean |
requiresConnection() |
boolean |
supportsStreaming() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllParameterModelspublic SourceModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, DisplayModel displayModel, OutputModel output, OutputModel outputAttributes, boolean transactional, boolean requiresConnection, boolean supportsStreaming, StereotypeModel stereotype, boolean hasResponse, SourceCallbackModel successCallback, SourceCallbackModel errorCallback, SourceCallbackModel terminateCallbackModel, Set<ErrorModel> errors, List<? extends NestableElementModel> nestedComponents, MetadataKeyIdModel metadataKeyIdModel)
public String getName()
ComponentModelgetName in interface ComponentModelpublic String getDescription()
ComponentModelgetDescription in interface ComponentModelStringpublic List<ParameterGroupModel> getParameterGroupModels()
getParameterGroupModels in interface ComponentModelgroupspublic Optional<DisplayModel> getDisplayModel()
getDisplayModel in interface ComponentModelOptional DisplayModel which contains
directives about how this model should be displayed in the UIpublic OutputModel getOutput()
public OutputModel getOutputAttributes()
public boolean isTransactional()
public boolean requiresConnection()
public boolean supportsStreaming()
public StereotypeModel getStereotype()
getStereotype in interface ComponentModelstereotypes which apply to this modelpublic boolean hasResponse()
public Optional<SourceCallbackModel> getSuccessCallback()
public Optional<SourceCallbackModel> getErrorCallback()
public Optional<SourceCallbackModel> getTerminateCallback()
public Set<ErrorModel> getErrorModels()
getErrorModels in interface ComponentModelSet of ErrorModel with the possible errors that the current
component could throw.ErrorModelpublic List<? extends NestableElementModel> getNestedComponents()
getNestedComponents in interface ComponentModelList of components contained by
this modelpublic Optional<MetadataKeyIdModel> getMetadataKeyIdModel()
public Optional<ParameterGroupModel> getParameterGroupModel(String name)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.