/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.linkedpipes.etl.convert.uv.configuration;

import com.linkedpipes.etl.convert.uv.pipeline.UvPipeline;

/**
 *
 * @author Petr Škoda
 */
public class ConfigurationFromJarFile {

    private ConfigurationFromJarFile() {
    }

    public static Configuration resolve(UvPipeline.Instance instance) {
        String jarFile = instance.getTemplate().getJarName();
        if (jarFile.contains("t-rdfMerger")) {
            return new RdfMergerConfig_V1();
        } else {
            throw new RuntimeException("Unknown jar-file: " + jarFile + " for "
                + instance.getName());
        }
    }

}

@@ -637,24 +637,121 @@
 onfig_V1();%0A
+        %7D else if (jarFile.contains(%22t-unzipper%22)) %7B%0A            return new UnZipperConfig_V1();%0A
         %7D el

Add jar-based mapping