Class ForkDefinition
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.ForkDefinition
Represents the 
fork element within test definitions of the
 junitlauncher task- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddConfiguredModulePath(Path modulePath) voidvoidaddConfiguredSysPropertySet(PropertySet propertySet) voidaddConfiguredUpgradeModulePath(Path upgradeModulePath) voidvoidsetForkMode(ForkDefinition.ForkMode forkMode) TheforkModeto use when launching the tests in a forked JVM.voidsetIncludeAntRuntimeLibraries(boolean include) voidsetIncludeJUnitPlatformLibraries(boolean include) voidThe command used to launchjava.voidsetTimeout(long timeout) 
- 
Method Details- 
setDir
- 
setTimeoutpublic void setTimeout(long timeout) 
- 
setIncludeJUnitPlatformLibrariespublic void setIncludeJUnitPlatformLibraries(boolean include) 
- 
setIncludeAntRuntimeLibrariespublic void setIncludeAntRuntimeLibraries(boolean include) 
- 
createJvmArg
- 
addConfiguredSysProperty
- 
addConfiguredSysPropertySet
- 
addConfiguredEnv
- 
addConfiguredModulePath
- 
addConfiguredUpgradeModulePath
- 
setJavaThe command used to launchjava. This can be a path to thejavabinary that will be used to launch the forkedjavaprocess.- Parameters:
- java- Path to the java command
- Since:
- Ant 1.10.14
 
- 
setForkModeTheforkModeto use when launching the tests in a forked JVM.- Parameters:
- forkMode- Can be null, in which case an internal implementation default will be used.
- Since:
- Ant 1.10.14
 
 
-