use of org.talend.mdm.repository.core.service.ws.AbstractPluginDetail in project tmdm-studio-se by Talend.
the class RepositoryWebServiceAdapter method initTransformerPluginDetails.
private static void initTransformerPluginDetails() {
if (transformerPluginMap == null) {
transformerPluginMap = new LinkedHashMap<String, AbstractPluginDetail>();
// $NON-NLS-1$
String twoLettersLanguageCode = "en";
addDetail(transformerPluginMap, new CodeProjectPluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new DumpAndGoPluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new GroovyPluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new RegexpPluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new ReplacePluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new RoutePluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new TISCallJobPluginDetail(twoLettersLanguageCode));
ITriggerProcessService service = getTriggerProcessService();
if (service != null) {
service.addDetail(transformerPluginMap, twoLettersLanguageCode);
}
addDetail(transformerPluginMap, new XPathPluginDetail(twoLettersLanguageCode));
addDetail(transformerPluginMap, new XSLTPluginDetail(twoLettersLanguageCode));
}
}
use of org.talend.mdm.repository.core.service.ws.AbstractPluginDetail in project tmdm-studio-se by Talend.
the class TransformerMainPage2 method initPlugin.
@Override
protected void initPlugin() {
for (AbstractPluginDetail detail : RepositoryWebServiceAdapter.findAllTransformerPluginV2Details()) {
String jndi = detail.getJNDIName();
pluginsCombo.add(jndi);
pluginDescriptions.put(jndi, detail.getDescription());
// add input variables and output variables
java.util.List<String> input = new LinkedList<String>();
for (WSTransformerPluginV2VariableDescriptor v : detail.getInputVariableDescriptors()) {
input.add(v.getVariableName());
}
inputVariablesMap.put(jndi, input);
//
java.util.List<String> output = new LinkedList<String>();
for (WSTransformerPluginV2VariableDescriptor v : detail.getOutputVariableDescriptors()) {
output.add(v.getVariableName());
}
outputVariablesMap.put(jndi, output);
}
}
Aggregations