Class ForkDefinition


  • public class ForkDefinition
    extends java.lang.Object
    Represents the fork element within test definitions of the junitlauncher task
    • Method Detail

      • setDir

        public void setDir​(java.lang.String dir)
      • setTimeout

        public void setTimeout​(long timeout)
      • setIncludeJUnitPlatformLibraries

        public void setIncludeJUnitPlatformLibraries​(boolean include)
      • setIncludeAntRuntimeLibraries

        public void setIncludeAntRuntimeLibraries​(boolean include)
      • addConfiguredSysPropertySet

        public void addConfiguredSysPropertySet​(PropertySet propertySet)
      • addConfiguredModulePath

        public void addConfiguredModulePath​(Path modulePath)
      • addConfiguredUpgradeModulePath

        public void addConfiguredUpgradeModulePath​(Path upgradeModulePath)
      • setJava

        public void setJava​(java.lang.String java)
        The command used to launch java. This can be a path to the java binary that will be used to launch the forked java process.
        Parameters:
        java - Path to the java command
        Since:
        Ant 1.10.14
      • setForkMode

        public void setForkMode​(ForkDefinition.ForkMode forkMode)
        The forkMode to 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