com.borland.primetime.runtime
Interface Runner

All Known Implementing Classes:
JavaRunner

public interface Runner

Implementations of the Runner interface define runtime support and configuration for classes launched by the PrimeTime IDE in both run and debug modes. Instances of the runner implementation must be registered with the RuntimeManager before the user may use their runtime services.


Method Summary
 PropertyPageFactory getPageFactory(Project project, java.util.Map propertyMap)
          Each Runner is responsibile for determining whether or not it should be used for a particular project.
 boolean isValid(Browser browser, Project project, java.util.Map propertyMap, boolean debug)
          Describes whether or not the runner is completely configured.
 void run(Browser browser, Project project, java.util.Map propertyMap, boolean debug)
          Starts the runtime process associated with the current project using either a runtime or debug process tracking instance.
 

Method Detail

run

public void run(Browser browser,
                Project project,
                java.util.Map propertyMap,
                boolean debug)

Starts the runtime process associated with the current project using either a runtime or debug process tracking instance.

Parameters:
browser - The browser instance associated with the running process. JavaProcessTracker instances monitor the new process through a tab in the message view of the specified browser.
project - The active project at the time the user requested a run or debug session.
debug - True if the user requested a debugging session, false otherwise.

isValid

public boolean isValid(Browser browser,
                       Project project,
                       java.util.Map propertyMap,
                       boolean debug)
Describes whether or not the runner is completely configured. This is used to determine if "run" method should be called, or if the configuration dialog should be displayed.
Parameters:
browser - The browser the runtime session will be associated with.
project - The project to
Returns:
True if the configuration for the project is complete, false otherwise.

getPageFactory

public PropertyPageFactory getPageFactory(Project project,
                                          java.util.Map propertyMap)
Each Runner is responsibile for determining whether or not it should be used for a particular project.
Parameters:
project - The project for which a runtime configuration page is desired.
Returns:
An instance of PropertyPageFactory to provide a configuration interface for this Runner.