public final class ModelLoaderDelegateUtils extends Object
ModelLoaderDelegate implementations| Constructor and Description |
|---|
ModelLoaderDelegateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
declareErrorModels(org.mule.runtime.api.meta.model.declaration.fluent.ComponentDeclarer declarer,
OperationModelParser parser,
org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclarer extension,
ErrorsModelFactory errorsModelFactory)
Adds the
ErrorModels from the given parser to the given declarer and extension. |
static boolean |
requiresConfig(OperationModelParser parser) |
static boolean |
requiresConfig(SourceModelParser parser) |
public static boolean requiresConfig(SourceModelParser parser)
parser - a SourceModelParserparser represents a source which requires a config to functionpublic static boolean requiresConfig(OperationModelParser parser)
parser - a OperationModelParserparser represents an operation which requires a config to functionpublic static void declareErrorModels(org.mule.runtime.api.meta.model.declaration.fluent.ComponentDeclarer declarer,
OperationModelParser parser,
org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclarer extension,
ErrorsModelFactory errorsModelFactory)
ErrorModels from the given parser to the given declarer and extension.declarer - ComponentDeclarer to populate with the ErrorModels obtained from the
parser.parser - OperationModelParser to get the ErrorModel parsers from.extension - ExtensionDeclarer to populate with the ErrorModels obtained from the
parser.errorsModelFactory - factory to generate the ErrorModels.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.