1 package org.jbpm.bpel.data.spi; 2 3 /** 4 * @author Alejandro Guízar 5 * @version $Revision: 1.1 $ $Date: 2005/05/04 19:46:14 $ 6 */ 7 public interface Script { 8 9 /** 10 * Evaluates this expression, extracting data from variables in the scope 11 * of the given token. 12 * @param contextInfo the context of evaluation 13 * @return the result of evaluation 14 */ 15 public Object evaluate(Object contextInfo); 16 17 /** 18 * Assigns a value to the location that this expression identifies. 19 * @param contextInfo the context for evaluation 20 * @param value the value to assign 21 */ 22 public void assign(Object contextInfo, Object value); 23 } 24