org.flexunit.ant.launcher.contexts
Interface ExecutionContext

All Known Implementing Classes:
DefaultContext, HeadlessContext

public interface ExecutionContext

Basis for executing a player command.


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.
 

Method Detail

setProject

void setProject(org.apache.tools.ant.Project project)

setCommand

void setCommand(PlayerCommand command)

start

void start()
           throws java.io.IOException
Starts the execution context and any work associated with the individual implementations.

Throws:
java.io.IOException

stop

void stop(java.lang.Process playerProcess)
          throws java.io.IOException
Stops the execution context and manages the player Process as well as any work associated with the individual implementations.

Parameters:
playerProcess -
Throws:
java.io.IOException