162163164165166167168
String pipeline_name = cmd.getOptionValue(OPT_PIPELINE[0]); Pipeline p = getConfiguration().getPipeline(pipeline_name); if (p == null) throw new PipetError("No such pipeline: "+pipeline_name); return new EmbeddedPipeline(cfg, p); }
21222324252627
{ Pipeline p = cfg.getPipeline(uri); if (p == null) throw new ResourceNotFoundException(String.format("Pipeline not found: %s", uri)); return new EmbeddedPipeline(cfg, p); }