public class AllureCommandline
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLURE_DEFAULT_VERSION |
| Constructor and Description |
|---|
AllureCommandline(java.nio.file.Path installationDirectory,
java.lang.String version) |
AllureCommandline(java.nio.file.Path installationDirectory,
java.lang.String version,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allureExists() |
boolean |
allureNotExists() |
void |
download(java.lang.String allureDownloadUrl,
org.apache.maven.settings.Proxy mavenProxy) |
void |
downloadWithMaven(org.apache.maven.execution.MavenSession session,
org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolver dependencyResolver) |
int |
generateReport(java.util.List<java.nio.file.Path> resultsPaths,
java.nio.file.Path reportPath,
boolean singleFile) |
java.nio.file.Path |
getInstallationDirectory() |
java.lang.String |
getVersion() |
int |
serve(java.util.List<java.nio.file.Path> resultsPaths,
java.nio.file.Path reportPath,
java.lang.String serveHost,
java.lang.Integer servePort) |
public static final java.lang.String ALLURE_DEFAULT_VERSION
public AllureCommandline(java.nio.file.Path installationDirectory,
java.lang.String version)
public AllureCommandline(java.nio.file.Path installationDirectory,
java.lang.String version,
int timeout)
public int generateReport(java.util.List<java.nio.file.Path> resultsPaths,
java.nio.file.Path reportPath,
boolean singleFile)
throws java.io.IOException
java.io.IOExceptionpublic int serve(java.util.List<java.nio.file.Path> resultsPaths,
java.nio.file.Path reportPath,
java.lang.String serveHost,
java.lang.Integer servePort)
throws java.io.IOException
java.io.IOExceptionpublic boolean allureExists()
public boolean allureNotExists()
public void downloadWithMaven(org.apache.maven.execution.MavenSession session,
org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolver dependencyResolver)
throws java.io.IOException
java.io.IOExceptionpublic void download(java.lang.String allureDownloadUrl,
org.apache.maven.settings.Proxy mavenProxy)
throws java.io.IOException
java.io.IOExceptionpublic java.nio.file.Path getInstallationDirectory()
public java.lang.String getVersion()
Copyright © 2024 Qameta.io. All rights reserved.