Package org.apache.commons.jexl
Interface Script
-
- All Superinterfaces:
org.apache.commons.jexl2.Script
public interface Script extends org.apache.commons.jexl2.Script
Jexl-1.x compatible script.- Since:
- 2.0
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
execute(JexlContext context)
Executes the script with the variables contained in the suppliedJexlContext
.
-
-
-
Method Detail
-
execute
java.lang.Object execute(JexlContext context) throws java.lang.Exception
Executes the script with the variables contained in the suppliedJexlContext
.- Parameters:
context
- A JexlContext containing variables.- Returns:
- The result of this script, usually the result of the last statement.
- Throws:
java.lang.Exception
- on any script parse or execution error.
-
-