printReport
public static void printReport(String formatName,
Severity minSeverity,
boolean verbose,
boolean override,
String... fileNames)
throws ParserConfigurationException,
TransformerException
Prints an automated analysis report for the JFR files with the specified fileNames.
- Parameters:
formatName - the format of the report, e.g. xml, html or text.
minSeverity - the minimum severity to report.
verbose - true for a more verbose report.
override - true to allow overriding the xslt for the transform via the context classloader
(text = org/openjdk/jmc/flightrecorder/rules/report/text.xslt, html =
org/openjdk/jmc/flightrecorder/rules/report/html.xslt).
fileNames - the file names of the recordings to analyze.
- Throws:
SecurityException - if a security manager exists, the caller does not have
JfrReportPermission("override"), and override was enabled.
ParserConfigurationException
TransformerException