public interface LaunchConfiguration
Modifier and Type | Method and Description |
---|---|
LaunchConfiguration |
appendJvmArgument(String argument)
Adds the given
argument to the JVM arguments used when launching the
software. |
void |
execute()
Executes the launch of the measured software.
|
LaunchConfiguration |
prependClasspath(String classPathEntry)
Adds the given
classPathEntry to the start of the Java classpath used when
launching the software. |
void execute() throws InterruptedException
InterruptedException
- If the current thread is interrupted while the launch
is being executed, an InterruptedException
might be thrown to
indicate this.LaunchConfiguration prependClasspath(String classPathEntry)
classPathEntry
to the start of the Java classpath used when
launching the software. This setting persists only until the next call to
execute()
.classPathEntry
- A classpath entry to prepend the launched software’s Java
classpath with.this
.LaunchConfiguration appendJvmArgument(String argument)
argument
to the JVM arguments used when launching the
software. This setting persists only until the next call to execute()
.argument
- An argument to pass to the launched program’s JVM.this
.