Top Description Fields Constructors Methods
org.opentest4j.reporting.cli

public Class HtmlReportCommand

extends Object
implements Callable<Integer>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Annotations
@Command
name:html-report
description:Creates an HTML report from a event-based or hierarchical XML file
@API
status:EXPERIMENTAL
since:0.2.0
Imports
org.apiguardian.api.API, org.opentest4j.reporting.tooling.core.htmlreport.DefaultHtmlReportWriter, org.slf4j.Logger, .LoggerFactory, picocli.CommandLine.Command, .CommandLine.Option, .CommandLine.Parameters, java.awt.*, java.nio.file.Path, java.util.List, java.util.concurrent.Callable

Converts from the event-based to the hierarchical XML format.
Since
0.2.0

Field Summary

Modifier and TypeField and Description
private static final Logger
pack-priv boolean
pack-priv Path
pack-priv List<Path>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Integer
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final Logger LOG
openback to summary
pack-priv boolean open
Annotations
@Option
names:--open
description:Open the generated HTML report in the default browser
targetFileback to summary
pack-priv Path targetFile
Annotations
@Option
names:-o, --output
description:The target HTML file
xmlFilesback to summary
pack-priv List<Path> xmlFiles
Annotations
@Parameters
arity:1..*
description:The XML file(s) to convert

Constructor Detail

HtmlReportCommandback to summary
pack-priv HtmlReportCommand()

Method Detail

callback to summary
public Integer call() throws Exception

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:Integer

computed result

Annotations
@Override
Exceptions
Exception:
if unable to compute a result