public final class JarManifestForkConfiguration extends AbstractClasspathForkConfiguration
DEFAULT_PROVIDER_CLASS| Constructor and Description |
|---|
JarManifestForkConfiguration(Classpath bootClasspath,
java.io.File tempDirectory,
java.lang.String debugLine,
java.io.File workingDirectory,
java.util.Properties modelProperties,
java.lang.String argLine,
java.util.Map<java.lang.String,java.lang.String> environmentVariables,
boolean debug,
int forkCount,
boolean reuseForks,
Platform pluginPlatform,
ConsoleLogger log) |
| Modifier and Type | Method and Description |
|---|---|
private java.io.File |
createJar(java.util.List<java.lang.String> classPath,
java.lang.String startClassName)
Create a jar with just a manifest containing a Main-Class entry for BooterConfiguration and a Class-Path entry
for all classpath elements.
|
protected void |
resolveClasspath(OutputStreamFlushableCommandline cli,
java.lang.String booterThatHasMainMethod,
StartupConfiguration config) |
extendJvmArgLinecreateCommandLine, getArgLine, getBooterClasspath, getDebugLine, getEnvironmentVariables, getForkCount, getJdkForTests, getModelProperties, getPluginPlatform, getTempDirectory, getWorkingDirectory, isDebug, isReuseForks, toCompleteClasspathpublic JarManifestForkConfiguration(@Nonnull
Classpath bootClasspath,
@Nonnull
java.io.File tempDirectory,
@Nullable
java.lang.String debugLine,
@Nonnull
java.io.File workingDirectory,
@Nonnull
java.util.Properties modelProperties,
@Nullable
java.lang.String argLine,
@Nonnull
java.util.Map<java.lang.String,java.lang.String> environmentVariables,
boolean debug,
int forkCount,
boolean reuseForks,
@Nonnull
Platform pluginPlatform,
@Nonnull
ConsoleLogger log)
protected void resolveClasspath(@Nonnull
OutputStreamFlushableCommandline cli,
@Nonnull
java.lang.String booterThatHasMainMethod,
@Nonnull
StartupConfiguration config)
throws SurefireBooterForkException
resolveClasspath in class DefaultForkConfigurationSurefireBooterForkException@Nonnull
private java.io.File createJar(@Nonnull
java.util.List<java.lang.String> classPath,
@Nonnull
java.lang.String startClassName)
throws java.io.IOException
classPath - List<String> of all classpath elements.startClassName - The class name to start (main-class)java.io.IOException - When a file operation fails.