public abstract class AbstractComplexModel extends AbstractNamedImmutableModel implements org.mule.runtime.api.meta.model.connection.HasConnectionProviderModels, org.mule.runtime.api.meta.model.source.HasSourceModels, org.mule.runtime.api.meta.model.operation.HasOperationModels, org.mule.runtime.api.meta.model.deprecated.DeprecableModel
AbstractComplexModel which also implements HasConnectionProviderModels,
HasSourceModels and HasOperationModelsdescription, modelProperties| Constructor and Description |
|---|
AbstractComplexModel(String name,
String description,
List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels,
List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders,
List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) |
AbstractComplexModel(String name,
String description,
List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels,
List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders,
List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties,
org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends org.mule.runtime.api.meta.NamedObject> |
findModel(Collection<T> values,
String name)
Returns the first item in the
values collection which matches the given name. |
Optional<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> |
getConnectionProviderModel(String name) |
List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> |
getConnectionProviders() |
Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> |
getDeprecationModel() |
Optional<org.mule.runtime.api.meta.model.operation.OperationModel> |
getOperationModel(String name) |
List<org.mule.runtime.api.meta.model.operation.OperationModel> |
getOperationModels() |
Optional<org.mule.runtime.api.meta.model.source.SourceModel> |
getSourceModel(String name) |
List<org.mule.runtime.api.meta.model.source.SourceModel> |
getSourceModels() |
boolean |
isDeprecated() |
protected <T extends org.mule.runtime.api.meta.DescribedObject> |
toList(Collection<T> collection) |
protected <T extends org.mule.runtime.api.meta.NamedObject> |
unique(Collection<T> values,
String identifier)
Returns an immutable copy of the
values collection, validating that no items exist such that its name is repeated |
checkArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertypublic AbstractComplexModel(String name, String description, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
public AbstractComplexModel(String name, String description, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel)
public List<org.mule.runtime.api.meta.model.operation.OperationModel> getOperationModels()
getOperationModels in interface org.mule.runtime.api.meta.model.operation.HasOperationModelspublic List<org.mule.runtime.api.meta.model.source.SourceModel> getSourceModels()
getSourceModels in interface org.mule.runtime.api.meta.model.source.HasSourceModelspublic Optional<org.mule.runtime.api.meta.model.source.SourceModel> getSourceModel(String name)
getSourceModel in interface org.mule.runtime.api.meta.model.source.HasSourceModelspublic Optional<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> getConnectionProviderModel(String name)
getConnectionProviderModel in interface org.mule.runtime.api.meta.model.connection.HasConnectionProviderModelspublic Optional<org.mule.runtime.api.meta.model.operation.OperationModel> getOperationModel(String name)
getOperationModel in interface org.mule.runtime.api.meta.model.operation.HasOperationModelspublic List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> getConnectionProviders()
getConnectionProviders in interface org.mule.runtime.api.meta.model.connection.HasConnectionProviderModelsprotected <T extends org.mule.runtime.api.meta.NamedObject> Optional<T> findModel(Collection<T> values, String name)
values collection which matches the given name.T - the generic type of the values itemsvalues - a Collection of NamedObject itemsname - the matching criteriaOptional matching itemprotected <T extends org.mule.runtime.api.meta.DescribedObject> List<T> toList(Collection<T> collection)
protected <T extends org.mule.runtime.api.meta.NamedObject> List<T> unique(Collection<T> values, String identifier)
values collection, validating that no items exist such that its name is repeatedT - the generic type of the values itemsvalues - the collection to copyidentifier - human friendly identifier of the values contentvaluespublic Optional<org.mule.runtime.api.meta.model.deprecated.DeprecationModel> getDeprecationModel()
getDeprecationModel in interface org.mule.runtime.api.meta.model.deprecated.DeprecableModelpublic boolean isDeprecated()
isDeprecated in interface org.mule.runtime.api.meta.model.deprecated.DeprecableModelCopyright © 2020 MuleSoft, Inc.. All rights reserved.