org.flexunit.ant.launcher.contexts
Class ExecutionContextFactory

java.lang.Object
  extended by org.flexunit.ant.launcher.contexts.ExecutionContextFactory

public class ExecutionContextFactory
extends java.lang.Object


Constructor Summary
ExecutionContextFactory()
           
 
Method Summary
static ExecutionContext createContext(OperatingSystem os, boolean headless, int display)
          Used to generate new instances of an execution context based on the OS and whether the build should run headlessly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContextFactory

public ExecutionContextFactory()
Method Detail

createContext

public static ExecutionContext createContext(OperatingSystem os,
                                             boolean headless,
                                             int display)
Used to generate new instances of an execution context based on the OS and whether the build should run headlessly.

Parameters:
os - Current OS.
headless - Should the build run headlessly.
display - The vnc display number to use if headless
Returns: