Class JarManifestForkConfiguration
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.ForkConfiguration
org.apache.maven.plugin.surefire.booterclient.DefaultForkConfiguration
org.apache.maven.plugin.surefire.booterclient.JarManifestForkConfiguration
- Since:
- 2.21.0.Jigsaw
- Author:
- Tibor Digana (tibor17)
-
Constructor Summary
ConstructorsConstructorDescriptionJarManifestForkConfiguration
(Classpath bootClasspath, File tempDirectory, String debugLine, File workingDirectory, Properties modelProperties, String argLine, Map<String, String> environmentVariables, String[] excludedEnvironmentVariables, boolean debug, int forkCount, boolean reuseForks, Platform pluginPlatform, org.apache.maven.plugin.surefire.log.api.ConsoleLogger log, ForkNodeFactory forkNodeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
extendJvmArgLine
(String jvmArgLine) protected void
resolveClasspath
(Commandline cli, String booterThatHasMainMethod, StartupConfiguration config, File dumpLogDirectory) Methods inherited from class org.apache.maven.plugin.surefire.booterclient.DefaultForkConfiguration
createCommandLine, getArgLine, getBooterClasspath, getDebugLine, getEnvironmentVariables, getExcludedEnvironmentVariables, getForkCount, getForkNodeFactory, getJdkForTests, getLogger, getModelProperties, getPluginPlatform, getTempDirectory, getWorkingDirectory, isDebug, isReuseForks, toCompleteClasspath
-
Constructor Details
-
JarManifestForkConfiguration
public JarManifestForkConfiguration(@Nonnull Classpath bootClasspath, @Nonnull File tempDirectory, @Nullable String debugLine, @Nonnull File workingDirectory, @Nonnull Properties modelProperties, @Nullable String argLine, @Nonnull Map<String, String> environmentVariables, @Nonnull String[] excludedEnvironmentVariables, boolean debug, int forkCount, boolean reuseForks, @Nonnull Platform pluginPlatform, @Nonnull org.apache.maven.plugin.surefire.log.api.ConsoleLogger log, @Nonnull ForkNodeFactory forkNodeFactory)
-
-
Method Details
-
resolveClasspath
protected void resolveClasspath(@Nonnull Commandline cli, @Nonnull String booterThatHasMainMethod, @Nonnull StartupConfiguration config, @Nonnull File dumpLogDirectory) throws SurefireBooterForkException - Specified by:
resolveClasspath
in classDefaultForkConfiguration
- Throws:
SurefireBooterForkException
-
extendJvmArgLine
- Overrides:
extendJvmArgLine
in classDefaultForkConfiguration
-