Modifier and Type | Method and Description |
---|---|
Set<ErrorModel> |
ExtensionModel.getErrorModels() |
Modifier and Type | Method and Description |
---|---|
Set<ErrorModel> |
ComponentDeclaration.getErrorModels() |
Set<ErrorModel> |
ExtensionDeclaration.getErrorModels() |
Modifier and Type | Method and Description |
---|---|
void |
ComponentDeclaration.addErrorModel(ErrorModel errorModel) |
void |
ExtensionDeclaration.addErrorModel(ErrorModel errorModel) |
T |
ComponentDeclarer.withErrorModel(ErrorModel error)
Adds an
ErrorModel to indicate that the current operation could throw the added error. |
ExtensionDeclarer |
ExtensionDeclarer.withErrorModel(ErrorModel errorModel)
Registers an
ErrorModel that could be thrown by one their
operations |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableErrorModel
Default and immutable implementation of
ErrorModel |
Modifier and Type | Method and Description |
---|---|
ErrorModel |
ErrorModelBuilder.build() |
Modifier and Type | Method and Description |
---|---|
Set<ErrorModel> |
ThrowsErrors.getErrorModels() |
Optional<ErrorModel> |
ErrorModel.getParent() |
Optional<ErrorModel> |
ImmutableErrorModel.getParent() |
Modifier and Type | Method and Description |
---|---|
ErrorModelBuilder |
ErrorModelBuilder.withParent(ErrorModel parent) |
Constructor and Description |
---|
ImmutableErrorModel(String type,
String namespace,
boolean handleable,
ErrorModel parent)
Creates a new instance
|
ImmutableErrorModel(String type,
String namespace,
ErrorModel parent)
Deprecated.
This constructor is deprecated and will be removed in Mule 5. Use
ImmutableErrorModel.ImmutableErrorModel(String, String, ErrorModel)
instead |
Modifier and Type | Method and Description |
---|---|
Set<ErrorModel> |
AbstractComponentModel.getErrorModels() |
Set<ErrorModel> |
ImmutableExtensionModel.getErrorModels() |
Constructor and Description |
---|
AbstractComponentModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties)
Creates a new instance
|
AbstractExecutableComponentModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
OutputModel output,
OutputModel outputAttributes,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties,
List<? extends NestableElementModel> nestedComponents)
Deprecated.
This constructor is deprecated and will be removed in Mule 5. Use
AbstractExecutableComponentModel.AbstractExecutableComponentModel(String, String, List, OutputModel, OutputModel, boolean, boolean, boolean, DisplayModel, Set, StereotypeModel, Set, List, Set)
instead |
AbstractExecutableComponentModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
OutputModel output,
OutputModel outputAttributes,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties,
List<? extends NestableElementModel> nestedComponents,
Set<NotificationModel> notifications)
Creates a new instance
|
ImmutableExtensionModel(String name,
String description,
String version,
String vendor,
Category category,
List<ConfigurationModel> configurationModels,
List<OperationModel> operationModels,
List<ConnectionProviderModel> connectionProviders,
List<SourceModel> sourceModels,
List<FunctionModel> functions,
List<ConstructModel> constructModels,
DisplayModel displayModel,
XmlDslModel xmlDslModel,
Set<SubTypesModel> subTypes,
Set<ObjectType> types,
Set<String> resources,
Set<ImportedTypeModel> importedTypes,
Set<ErrorModel> errors,
Set<ExternalLibraryModel> externalLibraryModels,
Set<String> privilegedPackages,
Set<String> privilegedArtifacts,
Set<ModelProperty> modelProperties)
Deprecated.
This constructor is deprecated and will be removed in Mule 5. Use
ImmutableExtensionModel.ImmutableExtensionModel(String, String, String, String, Category, List, List, List, List, List, List, DisplayModel, XmlDslModel, Set, Set, Set, Set, Set, Set, Set, Set, Set, Set)
instead |
ImmutableExtensionModel(String name,
String description,
String version,
String vendor,
Category category,
List<ConfigurationModel> configurationModels,
List<OperationModel> operationModels,
List<ConnectionProviderModel> connectionProviders,
List<SourceModel> sourceModels,
List<FunctionModel> functions,
List<ConstructModel> constructModels,
DisplayModel displayModel,
XmlDslModel xmlDslModel,
Set<SubTypesModel> subTypes,
Set<ObjectType> types,
Set<String> resources,
Set<ImportedTypeModel> importedTypes,
Set<ErrorModel> errors,
Set<ExternalLibraryModel> externalLibraryModels,
Set<String> privilegedPackages,
Set<String> privilegedArtifacts,
Set<ModelProperty> modelProperties,
Set<NotificationModel> notifications)
Creates a new instance with the given state
|
Constructor and Description |
---|
ImmutableConstructModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
boolean allowsTopLevelDefinition,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Constructor and Description |
---|
ImmutableOperationModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
OutputModel output,
OutputModel outputAttributes,
boolean blocking,
ExecutionType executionType,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties)
Deprecated.
This constructor is deprecated and will be removed in Mule 5. Use
ImmutableOperationModel.ImmutableOperationModel(String, String, List, List, OutputModel, OutputModel, boolean, ExecutionType, boolean, boolean, boolean, DisplayModel, Set, StereotypeModel, Set, Set)
instead |
ImmutableOperationModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
OutputModel output,
OutputModel outputAttributes,
boolean blocking,
ExecutionType executionType,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties,
Set<NotificationModel> notifications)
Creates a new instance with the given state
|
Constructor and Description |
---|
ImmutableSourceModel(String name,
String description,
boolean hasResponse,
boolean runsOnPrimaryNodeOnly,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
OutputModel output,
OutputModel outputAttributes,
Optional<SourceCallbackModel> successCallbackModel,
Optional<SourceCallbackModel> errorCallbackModel,
Optional<SourceCallbackModel> terminateCallbackModel,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
StereotypeModel stereotype,
Set<ErrorModel> errors,
Set<ModelProperty> modelProperties,
Set<NotificationModel> notifications)
Creates a new instance
|
ImmutableSourceModel(String name,
String description,
boolean hasResponse,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
OutputModel output,
OutputModel outputAttributes,
Optional<SourceCallbackModel> successCallbackModel,
Optional<SourceCallbackModel> errorCallbackModel,
Optional<SourceCallbackModel> terminateCallbackModel,
boolean requiresConnection,
boolean transactional,
boolean supportsStreaming,
DisplayModel displayModel,
StereotypeModel stereotype,
Set<ErrorModel> errors,
Set<ModelProperty> modelProperties)
Deprecated.
This constructor is deprecated and will be removed in Mule 5. Use
ImmutableSourceModel.ImmutableSourceModel(String, String, boolean, boolean, List, List, OutputModel, OutputModel, Optional, Optional, Optional, boolean, boolean, boolean, DisplayModel, StereotypeModel, Set, Set, Set)
instead |
Copyright © 2018. All rights reserved.