public class TestResourcesHelper extends Object
Constructor and Description |
---|
TestResourcesHelper(boolean enabled,
boolean keepAlive,
boolean shared,
File buildDirectory) |
TestResourcesHelper(boolean enabled,
boolean keepAlive,
boolean shared,
File buildDirectory,
Integer explicitPort,
Integer clientTimeout,
org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.execution.MavenSession mavenSession,
DependencyResolutionService dependencyResolutionService,
org.apache.maven.toolchain.ToolchainManager toolchainManager,
String testResourcesVersion,
boolean classpathInference,
List<org.apache.maven.model.Dependency> testResourcesDependencies,
String sharedServerNamespace) |
Modifier and Type | Method and Description |
---|---|
void |
setSharedServerNamespace(String sharedServerNamespace) |
void |
start()
Starts the Test Resources Service.
|
void |
stop()
Contains the logic to stop the Test Resources Service.
|
public TestResourcesHelper(boolean enabled, boolean keepAlive, boolean shared, File buildDirectory, Integer explicitPort, Integer clientTimeout, org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, DependencyResolutionService dependencyResolutionService, org.apache.maven.toolchain.ToolchainManager toolchainManager, String testResourcesVersion, boolean classpathInference, List<org.apache.maven.model.Dependency> testResourcesDependencies, String sharedServerNamespace)
public TestResourcesHelper(boolean enabled, boolean keepAlive, boolean shared, File buildDirectory)
public void start() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void stop() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void setSharedServerNamespace(String sharedServerNamespace)
sharedServerNamespace
- The shared server namespace (if any).Copyright © 2020–2023 Micronaut. All rights reserved.