org.flexunit.ant.launcher.contexts
Class DefaultContext

java.lang.Object
  extended by org.flexunit.ant.launcher.contexts.DefaultContext
All Implemented Interfaces:
ExecutionContext

public class DefaultContext
extends java.lang.Object
implements ExecutionContext


Field Summary
private  PlayerCommand command
           
private  org.apache.tools.ant.Project project
           
 
Constructor Summary
DefaultContext()
           
 
Method Summary
 void setCommand(PlayerCommand command)
           
 void setProject(org.apache.tools.ant.Project project)
           
 void start()
          Starts the execution context and any work associated with the individual implementations.
 void stop(java.lang.Process playerProcess)
          Stops the execution context and manages the player Process as well as any work associated with the individual implementations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

command

private PlayerCommand command

project

private org.apache.tools.ant.Project project
Constructor Detail

DefaultContext

public DefaultContext()
Method Detail

setProject

public void setProject(org.apache.tools.ant.Project project)
Specified by:
setProject in interface ExecutionContext

setCommand

public void setCommand(PlayerCommand command)
Specified by:
setCommand in interface ExecutionContext

start

public void start()
           throws java.io.IOException
Description copied from interface: ExecutionContext
Starts the execution context and any work associated with the individual implementations.

Specified by:
start in interface ExecutionContext
Throws:
java.io.IOException

stop

public void stop(java.lang.Process playerProcess)
          throws java.io.IOException
Description copied from interface: ExecutionContext
Stops the execution context and manages the player Process as well as any work associated with the individual implementations.

Specified by:
stop in interface ExecutionContext
Throws:
java.io.IOException