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,
boolean runsOnPrimaryNodeOnly,
SourceCallbackModel successCallback,
SourceCallbackModel errorCallback,
SourceCallbackModel terminateCallbackModel,
Set<ErrorModel> errors,
List<? extends NestableElementModel> nestedComponents,
MetadataKeyIdModel metadataKeyIdModel,
DeprecationModel deprecationModel)
Deprecated.
|
SourceModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
DisplayModel displayModel,
OutputModel output,
OutputModel outputAttributes,
boolean transactional,
boolean requiresConnection,
boolean supportsStreaming,
StereotypeModel stereotype,
boolean hasResponse,
boolean runsOnPrimaryNodeOnly,
SourceCallbackModel successCallback,
SourceCallbackModel errorCallback,
SourceCallbackModel terminateCallbackModel,
Set<ErrorModel> errors,
List<? extends NestableElementModel> nestedComponents,
MetadataKeyIdModel metadataKeyIdModel,
DeprecationModel deprecationModel,
TypeResolversInformationModel typeResolversInformationModel,
SampleDataProviderModel sampleDataProviderModel) |
SourceModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
DisplayModel displayModel,
OutputModel output,
OutputModel outputAttributes,
boolean transactional,
boolean requiresConnection,
boolean supportsStreaming,
StereotypeModel stereotype,
boolean hasResponse,
boolean runsOnPrimaryNodeOnly,
SourceCallbackModel successCallback,
SourceCallbackModel errorCallback,
SourceCallbackModel terminateCallbackModel,
Set<ErrorModel> errors,
List<? extends NestableElementModel> nestedComponents,
MetadataKeyIdModel metadataKeyIdModel,
DeprecationModel deprecationModel,
TypeResolversInformationModel typeResolversInformationModel,
SampleDataProviderModel sampleDataProviderModel,
Set<String> semanticTerms) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllParameterModels@Deprecated public SourceModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, DisplayModel displayModel, OutputModel output, OutputModel outputAttributes, boolean transactional, boolean requiresConnection, boolean supportsStreaming, StereotypeModel stereotype, boolean hasResponse, boolean runsOnPrimaryNodeOnly, SourceCallbackModel successCallback, SourceCallbackModel errorCallback, SourceCallbackModel terminateCallbackModel, Set<ErrorModel> errors, List<? extends NestableElementModel> nestedComponents, MetadataKeyIdModel metadataKeyIdModel, DeprecationModel deprecationModel)
public SourceModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, DisplayModel displayModel, OutputModel output, OutputModel outputAttributes, boolean transactional, boolean requiresConnection, boolean supportsStreaming, StereotypeModel stereotype, boolean hasResponse, boolean runsOnPrimaryNodeOnly, SourceCallbackModel successCallback, SourceCallbackModel errorCallback, SourceCallbackModel terminateCallbackModel, Set<ErrorModel> errors, List<? extends NestableElementModel> nestedComponents, MetadataKeyIdModel metadataKeyIdModel, DeprecationModel deprecationModel, TypeResolversInformationModel typeResolversInformationModel, SampleDataProviderModel sampleDataProviderModel)
public SourceModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, DisplayModel displayModel, OutputModel output, OutputModel outputAttributes, boolean transactional, boolean requiresConnection, boolean supportsStreaming, StereotypeModel stereotype, boolean hasResponse, boolean runsOnPrimaryNodeOnly, SourceCallbackModel successCallback, SourceCallbackModel errorCallback, SourceCallbackModel terminateCallbackModel, Set<ErrorModel> errors, List<? extends NestableElementModel> nestedComponents, MetadataKeyIdModel metadataKeyIdModel, DeprecationModel deprecationModel, TypeResolversInformationModel typeResolversInformationModel, SampleDataProviderModel sampleDataProviderModel, Set<String> semanticTerms)
public String getName()
ComponentModelgetName in interface ComponentModelpublic String getDescription()
ComponentModelgetDescription in interface ComponentModelStringpublic List<ParameterGroupModel> getParameterGroupModels()
getParameterGroupModels in interface ParameterizedModelgroupspublic 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 Feature<DeprecationModel> getDeprecationModel()
public Feature<TypeResolversInformationModel> getTypeResolversInformationModel()
getTypeResolversInformationModel in interface ComponentModelTypeResolversInformationModel with the information about the resolvers for metadata types.public Feature<SampleDataProviderModel> getSampleDataProviderModel()
public Set<String> getSemanticTerms()
HasSemanticTermsFeature but instead, implementations should handle the cases where coming from an older
version by returning an Collections.emptySet()getSemanticTerms in interface HasSemanticTermspublic Optional<ParameterGroupModel> getParameterGroupModel(String name)
getParameterGroupModel in interface ParameterizedModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.