Class ComponentModelMetadataKeyEnricher<T>

java.lang.Object
org.mule.datasense.impl.model.annotations.ComponentModelMetadataKeyEnricher<T>
All Implemented Interfaces:
LogSupport
Direct Known Subclasses:
OperationModelMetadataKeyEnricher, SourceModelMetadataKeyEnricher

public abstract class ComponentModelMetadataKeyEnricher<T> extends Object implements LogSupport
  • Constructor Details

    • ComponentModelMetadataKeyEnricher

      public ComponentModelMetadataKeyEnricher()
  • Method Details

    • getPartName

      protected String getPartName(Set<org.mule.runtime.api.metadata.MetadataKey> metadataKeys)
    • enumOfKeyValues

      protected String[] enumOfKeyValues(Set<org.mule.runtime.api.metadata.MetadataKey> metadataKeys)
    • findKeyPartConfiguredValue

      protected Optional<String> findKeyPartConfiguredValue(org.mule.runtime.ast.api.ComponentAst componentAst, String keyPartName)
    • filterMetadataKeys

      protected void filterMetadataKeys(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)
    • 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

      protected abstract T enrich(T componentModel, Map<String,Set<org.mule.runtime.api.metadata.MetadataKey>> metadataKeysByPart, OperationCall operationCall)