@Test public void switchVersion() throws IOException, TaskRunnerException { URL res = Resources.getResource("helium/webpack.config.js"); String resDir = new File(res.getFile()).getParent(); HeliumPackage pkgV1 = new HeliumPackage( HeliumPackage.Type.VISUALIZATION, "zeppelin-bubblechart", "zeppelin-bubblechart", "zeppelin-bubblechart@0.0.3", "", null, "license", "icon" ); HeliumPackage pkgV2 = new HeliumPackage( HeliumPackage.Type.VISUALIZATION, "zeppelin-bubblechart", "zeppelin-bubblechart", "zeppelin-bubblechart@0.0.1", "", null, "license", "icon" ); List<HeliumPackage> pkgsV1 = new LinkedList<>(); pkgsV1.add(pkgV1); List<HeliumPackage> pkgsV2 = new LinkedList<>(); pkgsV2.add(pkgV2); File bundle1 = hvf.bundle(pkgsV1); File bundle2 = hvf.bundle(pkgsV2); assertNotSame(bundle1.lastModified(), bundle2.lastModified()); }
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();  }