public class CustomizationService extends Object
| Constructor and Description |
|---|
CustomizationService(String generatorName) |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(String extensionModel,
org.apache.maven.artifact.Artifact artifact,
List<String> sourceExcludedParameterNames,
List<String> operationExcludedParameterNames,
List<String> excludedOperations)
Given the extension model json content, artifact, and list of excluded parameters for sources and operations it generates the
customization descriptor yaml content based by inferring values from the extension model.
|
void |
initialize() |
String |
overlay(String source,
String overlay)
Given a customization descriptor as input and an overlay content for the descriptor it will take any overlayed value from the
overlay input and generate the model merged with these values.
|
public CustomizationService(String generatorName)
public void initialize()
public String generate(String extensionModel, org.apache.maven.artifact.Artifact artifact, List<String> sourceExcludedParameterNames, List<String> operationExcludedParameterNames, List<String> excludedOperations)
extensionModel - the input model for the connector to generates its customization model.artifact - Maven artifact to access its GAV.sourceExcludedParameterNames - list of parameters to be excluded from the customization fields definition in sources.
Mostly used for synthetic parameters defined by Mule Runtime.operationExcludedParameterNames - list of parameters to be excluded from the customization fields definition in
operations. Mostly used for synthetic parameters defined by Mule Runtime.public String overlay(String source, String overlay)
source - the input model for the connector to generates its customization model.overlay - Maven artifact to access its GAV.Copyright © 2023. All rights reserved.