@Test public void bundleLocalPackage() throws IOException, TaskRunnerException { URL res = Resources.getResource("helium/webpack.config.js"); String resDir = new File(res.getFile()).getParent(); String localPkg = resDir + "/../../../src/test/resources/helium/vis1"; HeliumPackage pkg = new HeliumPackage( HeliumPackage.Type.VISUALIZATION, "vis1", "vis1", localPkg, "", null, "license", "fa fa-coffee" ); List<HeliumPackage> pkgs = new LinkedList<>(); pkgs.add(pkg); File bundle = hvf.bundle(pkgs); assertTrue(bundle.isFile()); }
public File bundle(List<HeliumPackage> pkgs) throws IOException { return bundle(pkgs, false); }
HeliumVisualizationFactory { public File bundle(List<HeliumPackage> pkgs) throws IOException { return bundle(pkgs, false); } }
HeliumVisualizationFactory { public File bundle(List<HeliumPackage> pkgs) throws IOException { return bundle(pkgs, false); } HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath,
      File tabledataModulePath,
      File visualizationModulePath);  HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath); }
HeliumVisualizationFactory { public File bundle(List<HeliumPackage> pkgs) throws IOException { return bundle(pkgs, false); } HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath,
      File tabledataModulePath,
      File visualizationModulePath);  HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath); File bundle(List<HeliumPackage> pkgs); synchronized File bundle(List<HeliumPackage> pkgs, boolean forceRefresh); File getCurrentBundle(); }
HeliumVisualizationFactory { public File bundle(List<HeliumPackage> pkgs) throws IOException { return bundle(pkgs, false); } HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath,
      File tabledataModulePath,
      File visualizationModulePath);  HeliumVisualizationFactory(
      ZeppelinConfiguration conf,
      File moduleDownloadPath); File bundle(List<HeliumPackage> pkgs); synchronized File bundle(List<HeliumPackage> pkgs, boolean forceRefresh); File getCurrentBundle();  }