Class BundleRenderer

java.lang.Object
com.atlassian.new_platform.BundleRenderer

public class BundleRenderer extends Object
  • Constructor Details

    • BundleRenderer

      public BundleRenderer(List<String> libraries, List<String> frameworkBundles, List<String> plugins)
      Params are used to mark certain dependencies with specific color. If rendered bundle won't be present on any of the lists, it will be marked with default color.
  • Method Details

    • renderDependencies

      public void renderDependencies(Map<String,Set<String>> allDependencies, Path path) throws IOException
      Renders grap of dependencies in two formats - DOT and SVG
      Parameters:
      allDependencies - map of dependencies to render
      path - location with file name without extension, where graphs should be saved
      Throws:
      IOException - if something bad happens with the provided location