Class JsTreeUtil

java.lang.Object
org.jenkinsci.plugins.testresultsanalyzer.JsTreeUtil

public class JsTreeUtil extends Object
  • Constructor Details

    • JsTreeUtil

      public JsTreeUtil()
  • Method Details

    • getJsTree

      public net.sf.json.JSONObject getJsTree(List<Integer> builds, ResultInfo resultInfo, boolean hideConfigMethods)
    • writeJsTree

      public void writeJsTree(Writer out, List<Integer> builds, ResultInfo resultInfo, boolean hideConfigMethods) throws IOException
      Writes the same JSON as getJsTree(List, ResultInfo, boolean) straight to out, without building a JSONObject per cell first: for many builds that tree is several times larger than the serialized form, and net.sf.json copies nested objects as they are added.
      Throws:
      IOException