public void setupEnvironment() { setEnvironment(new Environment(this)); }
public void setupEnvironment() { setEnvironment(new Environment(this)); }
public void setupEnvironment() { setEnvironment(new Environment(this)); }
public void setupEnvironment() { setEnvironment(new Environment(this)); }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline for (Step step : subpipeline()) { Environment senv = new Environment(env); step.setEnvironment(senv); } }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline for (Step step : subpipeline()) { Environment senv = new Environment(env); step.setEnvironment(senv); } }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); // Now what about my subpipeline? for (Step step : subpipeline) { env.addStep(step); } inheritedEnv = new Environment(env); patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline Step lastStep = null; for (Step step : subpipeline) { Environment senv = new Environment(env); if (lastStep != null) { senv.setDefaultReadablePort(lastStep.getDefaultOutput()); } lastStep = step; step.setEnvironment(senv); } }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); // Now what about my subpipeline? for (Step step : subpipeline) { env.addStep(step); } inheritedEnv = new Environment(env); patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline Step lastStep = null; for (Step step : subpipeline) { Environment senv = new Environment(env); if (lastStep != null) { senv.setDefaultReadablePort(lastStep.getDefaultOutput()); } lastStep = step; step.setEnvironment(senv); } }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); // Now what about my subpipeline? for (Step step : subpipeline) { env.addStep(step); } patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline for (Step step : subpipeline()) { Environment senv = new Environment(env); step.setEnvironment(senv); } }
@Override protected void setEnvironment(Environment newEnvironment) { Environment env = new Environment(newEnvironment); // Now what about my subpipeline? for (Step step : subpipeline) { env.addStep(step); } patchEnvironment(env); super.setEnvironment(env); // Now what about my subpipeline for (Step step : subpipeline()) { Environment senv = new Environment(env); step.setEnvironment(senv); } }