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

public Class ValidateCommand

extends Object
implements Callable<Integer>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Annotations
@Command
name:validate
description:Validates XML report files of both formats
@API
status:EXPERIMENTAL
since:0.1.0
Imports
org.apiguardian.api.API, org.opentest4j.reporting.tooling.core.validator.DefaultValidator, .ValidationResult, .Validator, org.slf4j.Logger, .LoggerFactory, picocli.CommandLine.Command, .CommandLine.Option, .CommandLine.Parameters, java.net.URI, java.nio.file.Path, java.util.List, java.util.concurrent.Callable

Validates XML report files of both formats.
Since
0.1.0

Field Summary

Modifier and TypeField and Description
pack-priv List<Path>
private static final Logger
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.

private void
private boolean
validate(Validator validator, Path xmlFile)

private boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

catalogsback to summary
pack-priv List<Path> catalogs
Annotations
@Option
names:--catalog
LOGback to summary
private static final Logger LOG
xmlFilesback to summary
pack-priv List<Path> xmlFiles
Annotations
@Parameters
arity:1..*

Constructor Detail

ValidateCommandback to summary
pack-priv ValidateCommand()

Method Detail

callback to summary
public Integer call()

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
logValidationMessagesback to summary
private void logValidationMessages(ValidationResult validationResult)
validateback to summary
private boolean validate(Validator validator, Path xmlFile)
validateAllback to summary
private boolean validateAll()