Package org.forgerock.openig.script
Interface Script
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface Script extends Closeable
Encapsulate an executable script.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectrun(Map<String,Object> bindings)Runs this script with the providedbindings.
-
-
-
Method Detail
-
run
Object run(Map<String,Object> bindings) throws ScriptException
Runs this script with the providedbindings.- Parameters:
bindings- bindings available to the execution of the script- Returns:
- the result of the script's execution
- Throws:
ScriptException- if execution failed
-
-