/*
 * Created on 2004-3-11
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.script.interpretor;

import workflow.script.ParameterContext;
import workflow.script.ScriptException;
import workflow.script.core.ScriptContext;
import workflow.wfmc.rtm.WorkflowWork;
import workflow.wfmc.xpdl.WorkflowTransition;


/**
 * @author zosatapo
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface ScriptInterpretor
{
  public void initialize(ScriptContext servletContext);
  
  public ScriptContext getScriptContext();
  
  public boolean evalute(WorkflowWork workflowWork,WorkflowTransition workflowTransition,ParameterContext paramContext)
  throws ScriptException; 
  
  public void start() throws ScriptException;  
	public void stop() throws ScriptException; 
}
