Package co.cask.tigon.internal.app.runtime

Examples of co.cask.tigon.internal.app.runtime.ProgramController


  protected static FlowManager deployFlow(Class<? extends Flow> flowClz, Map<String, String> runtimeArgs,
                                   File...bundleEmbeddedJars) {
    Preconditions.checkNotNull(flowClz, "Flow class cannot be null");
    try {
      Location deployJar = deployClient.jarForTestBase(flowClz, bundleEmbeddedJars);
      ProgramController controller = deployClient.startFlow(new File(deployJar.toURI()), flowClz.getName(),
                                                            tmpFolder.newFolder(), runtimeArgs);
      return new DefaultFlowManager(controller);
    } catch (Exception e) {
      throw Throwables.propagate(e);
    }
View Full Code Here

TOP

Related Classes of co.cask.tigon.internal.app.runtime.ProgramController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.