public class JfrRulesReport extends Object
| Constructor and Description |
|---|
JfrRulesReport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addReport(String fileName,
Severity minSeverity,
boolean verbose,
Element parent) |
static void |
main(String[] args) |
static void |
printReport(String formatName,
Severity minSeverity,
boolean verbose,
boolean override,
String... fileNames)
Prints an automated analysis report for the JFR files with the specified fileNames.
|
public static void main(String[] args) throws ParserConfigurationException, TransformerException
public static void printReport(String formatName, Severity minSeverity, boolean verbose, boolean override, String... fileNames) throws ParserConfigurationException, TransformerException
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.SecurityException - if a security manager exists, the caller does not have
JfrReportPermission("override"), and override was enabled.ParserConfigurationExceptionTransformerExceptionCopyright © 2020. All rights reserved.