com.jaccal.console
Class ScriptRunner

java.lang.Object
  extended bycom.jaccal.console.ScriptRunner

public class ScriptRunner
extends Object

This class wraps around the scripting language engine to provide a clean layer between Anubis and the scripting engine. The current scripting language used is BeanShell.

Author:
Chang Sau Sheong

Field Summary
(package private)  ErrorTab error
           
(package private)  OutputTab output
           
 
Constructor Summary
ScriptRunner(OutputTab output, ErrorTab error)
           
 
Method Summary
 void execute(String script)
          Executes the script
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

OutputTab output

error

ErrorTab error
Constructor Detail

ScriptRunner

public ScriptRunner(OutputTab output,
                    ErrorTab error)
Method Detail

execute

public void execute(String script)
Executes the script

Parameters:
script - The script string


Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.