Class ExecutionMode

java.lang.Object
com.sun.ts.lib.harness.ExecutionMode

public class ExecutionMode extends Object
  • Field Details

  • Method Details

    • getExecutionMode

      public static int getExecutionMode(PropertyManagerInterface propMgr)
      gets the current execution mode from PropertyManagerInterface or from a system property if overridden on the commandline. Note that current execution mode is not cached since harness.executeMode property may change between test executions.
      Parameters:
      propMgr - an implementation of PropertyManagerInterface.
      Returns:
      an int representing one of the 5 modes