All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hu.blackbelt.epsilon.runtime.execution.contexts.EgxExecutionContext Maven / Gradle / Ivy

package hu.blackbelt.epsilon.runtime.execution.contexts;

import hu.blackbelt.epsilon.runtime.execution.exceptions.ScriptExecutionException;
import lombok.Builder;
import org.eclipse.epsilon.egl.EgxModule;
import org.eclipse.epsilon.eol.IEolModule;

import java.net.URI;
import java.util.List;
import java.util.Map;

public class EgxExecutionContext extends EglExecutionContext {

    @Builder(builderMethodName = "egxExecutionContextBuilder")
    public EgxExecutionContext(URI source, List parameters, String outputRoot) {
        super(source, parameters, outputRoot);
    }

    @Override
    public IEolModule getModule(Map context) throws ScriptExecutionException {
        EgxModule module = new EgxModule(getTemplateFactory(context));
        return module;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy