public class ExtensionModelUtils extends Object
ExtensionModel instances| Modifier and Type | Method and Description |
|---|---|
static boolean |
acceptsExpressions(ExpressionSupport support) |
static List<ComponentModel> |
getConnectedComponents(ExtensionModel extensionModel)
Returns a
List with all the ComponentModel available to the extensionModel which requires a
connection. |
static List<ComponentModel> |
getConnectedComponents(ExtensionModel extensionModel,
ConfigurationModel configurationModel)
Returns a
List with all the ComponentModel available to the configurationModel which requires a
connection. |
static List<ParameterModel> |
getDynamicParameters(ParameterizedModel model)
Collects the
parameters from model which supports or requires expressions |
static boolean |
isConnected(EnrichableModel component) |
static boolean |
requiresConfig(Named component) |
public static List<ParameterModel> getDynamicParameters(ParameterizedModel model)
parameters from model which supports or requires expressionsmodel - a ParameterizedModelList of ParameterModel. Can be empty but will never be nullpublic static boolean acceptsExpressions(ExpressionSupport support)
support - a ExpressionSupportsupport is one which accepts or requires expressionspublic static List<ComponentModel> getConnectedComponents(ExtensionModel extensionModel)
List with all the ComponentModel available to the extensionModel which requires a
connection. This includes both SourceModel and OperationModel.extensionModel - a ExtensionModelList of ComponentModel. It might be empty but will never be nullpublic static List<ComponentModel> getConnectedComponents(ExtensionModel extensionModel, ConfigurationModel configurationModel)
List with all the ComponentModel available to the configurationModel which requires a
connection. This includes both SourceModel and OperationModel.extensionModel - the ExtensionModel that owns the configurationModelconfigurationModel - the ConfigurationModel which components you wantList of ComponentModel. It might be empty but will never be nullpublic static boolean requiresConfig(Named component)
component - a componentcomponent needs to be provided with a config
in order to functionpublic static boolean isConnected(EnrichableModel component)
component - an EnrichableModelcomponent requires a connection
in order to functionCopyright © 2016 MuleSoft, Inc.. All rights reserved.