Class ComponentModelMetadataKeyEnricher<T>
java.lang.Object
org.mule.datasense.impl.model.annotations.ComponentModelMetadataKeyEnricher<T>
- All Implemented Interfaces:
LogSupport
- Direct Known Subclasses:
OperationModelMetadataKeyEnricher,SourceModelMetadataKeyEnricher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Tenrich(T componentModel, Map<String, Set<org.mule.runtime.api.metadata.MetadataKey>> metadataKeysByPart, OperationCall operationCall) enrich(T model, org.mule.runtime.ast.api.ComponentAst componentAst, OperationCall operationCall, org.mule.runtime.api.component.location.Location location, DataSenseMetadataProvider dataSenseMetadataProvider, AstNotification astNotification, Optional<DataSenseConfiguration> dataSenseConfigurationOptional) protected String[]enumOfKeyValues(Set<org.mule.runtime.api.metadata.MetadataKey> metadataKeys) protected voidfilterMetadataKeys(Map<String, Set<org.mule.runtime.api.metadata.MetadataKey>> metadataKeysByPart, Set<org.mule.runtime.api.metadata.MetadataKey> metadataKeys, org.mule.runtime.ast.api.ComponentAst componentAst) findKeyPartConfiguredValue(org.mule.runtime.ast.api.ComponentAst componentAst, String keyPartName) protected Function<org.mule.runtime.api.meta.model.OutputModel,org.mule.metadata.api.model.MetadataType> getOutputAttributesMetadataTypeFunction(OperationCall operationCall) protected Function<org.mule.runtime.api.meta.model.OutputModel,org.mule.metadata.api.model.MetadataType> getOutputMetadataTypeFunction(OperationCall operationCall) protected Function<org.mule.runtime.api.meta.model.parameter.ParameterModel,org.mule.metadata.api.model.MetadataType> getParameterModelMetadataTypeFunction(Map<String, Set<org.mule.runtime.api.metadata.MetadataKey>> metadataKeysByPart, OperationCall operationCall) protected StringgetPartName(Set<org.mule.runtime.api.metadata.MetadataKey> metadataKeys) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mule.datasense.impl.util.LogSupport
logger
-
Constructor Details
-
ComponentModelMetadataKeyEnricher
public ComponentModelMetadataKeyEnricher()
-
-
Method Details
-
getPartName
-
enumOfKeyValues
-
findKeyPartConfiguredValue
-
filterMetadataKeys
-
getParameterModelMetadataTypeFunction
protected Function<org.mule.runtime.api.meta.model.parameter.ParameterModel,org.mule.metadata.api.model.MetadataType> getParameterModelMetadataTypeFunction(Map<String, Set<org.mule.runtime.api.metadata.MetadataKey>> metadataKeysByPart, OperationCall operationCall) -
getOutputMetadataTypeFunction
protected Function<org.mule.runtime.api.meta.model.OutputModel,org.mule.metadata.api.model.MetadataType> getOutputMetadataTypeFunction(OperationCall operationCall) -
getOutputAttributesMetadataTypeFunction
protected Function<org.mule.runtime.api.meta.model.OutputModel,org.mule.metadata.api.model.MetadataType> getOutputAttributesMetadataTypeFunction(OperationCall operationCall) -
enrich
public T enrich(T model, org.mule.runtime.ast.api.ComponentAst componentAst, OperationCall operationCall, org.mule.runtime.api.component.location.Location location, DataSenseMetadataProvider dataSenseMetadataProvider, AstNotification astNotification, Optional<DataSenseConfiguration> dataSenseConfigurationOptional) -
enrich
-