Class JsTreeUtil
java.lang.Object
org.jenkinsci.plugins.testresultsanalyzer.JsTreeUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.json.JSONObjectgetJsTree(List<Integer> builds, ResultInfo resultInfo, boolean hideConfigMethods) voidwriteJsTree(Writer out, List<Integer> builds, ResultInfo resultInfo, boolean hideConfigMethods) Writes the same JSON asgetJsTree(List, ResultInfo, boolean)straight toout, without building aJSONObjectper cell first: for many builds that tree is several times larger than the serialized form, andnet.sf.jsoncopies nested objects as they are added.
-
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 asgetJsTree(List, ResultInfo, boolean)straight toout, without building aJSONObjectper cell first: for many builds that tree is several times larger than the serialized form, andnet.sf.jsoncopies nested objects as they are added.- Throws:
IOException
-