public final class ImmutableRuntimeConfigurationModel extends ImmutableConfigurationModel implements RuntimeConfigurationModel
ConfigurationModel| Constructor and Description |
|---|
ImmutableRuntimeConfigurationModel(String name,
String description,
Supplier<RuntimeExtensionModel> extensionModelSupplier,
ConfigurationFactory configurationFactory,
List<ParameterModel> parameterModels,
List<OperationModel> operationModels,
List<ConnectionProviderModel> connectionProviders,
List<SourceModel> sourceModels,
Set<ModelProperty> modelProperties,
List<InterceptorFactory> interceptorFactories)
Creates a new instance with the given state
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationFactory |
getConfigurationFactory()
Returns the
ConfigurationFactory for this instance |
RuntimeExtensionModel |
getExtensionModel() |
List<InterceptorFactory> |
getInterceptorFactories()
Returns a
List which items are InterceptorFactory instances
that are to be used to provision the interceptors for the
configurations created from this model. |
getParameterModelsfindModel, getConnectionProviderModel, getConnectionProviders, getOperationModel, getOperationModels, getSourceModel, getSourceModels, toList, uniquecheckArgument, equals, getName, hashCode, toStringgetDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetModelProperties, getModelPropertygetParameterModelsgetDescriptiongetOperationModel, getOperationModelsgetSourceModel, getSourceModelsgetConnectionProviderModel, getConnectionProviderspublic ImmutableRuntimeConfigurationModel(String name, String description, Supplier<RuntimeExtensionModel> extensionModelSupplier, ConfigurationFactory configurationFactory, List<ParameterModel> parameterModels, List<OperationModel> operationModels, List<ConnectionProviderModel> connectionProviders, List<SourceModel> sourceModels, Set<ModelProperty> modelProperties, List<InterceptorFactory> interceptorFactories)
name - the configuration's namedescription - the configuration's descriptionconfigurationFactory - the ConfigurationFactory. Cannot be nullparameterModels - a List with the configuration's parameterModelsoperationModels - a List with the extension's operationModelsconnectionProviders - a List with the extension's connection provider modelssourceModels - a List with the extension's message source modelsmodelProperties - a Set of custom properties which extend this modelinterceptorFactories - a List with the InterceptorFactory instances that should be applied to instances built from this modelIllegalArgumentException - if name is blank or configurationFactory is nullpublic ConfigurationFactory getConfigurationFactory()
ConfigurationFactory for this instancegetConfigurationFactory in interface RuntimeConfigurationModelpublic RuntimeExtensionModel getExtensionModel()
getExtensionModel in interface RuntimeConfigurationModelExtensionModel that owns this modelpublic List<InterceptorFactory> getInterceptorFactories()
InterceptableModelList which items are InterceptorFactory instances
that are to be used to provision the interceptors for the
configurations created from this model.
The order of the factories in the list will be the same as the order of the resulting
interceptors. However, just like it's explained in the
Interceptable interface, the order is not guaranteed to be respected although
it should be expressed anyway.
getInterceptorFactories in interface InterceptableModelList. Can be empty but must never be nullCopyright © 2016 MuleSoft, Inc.. All rights reserved.