public String run ( String scriptName , String argument ) throws ResourceException , ScriptException { Binding binding = new Binding ( ) ; binding . setVariable ( "arg" , argument ) ; Object result = run ( scriptName , binding ) ; return result == null ? "" : result . toString ( ) ; }
Run a script identified by name with a single argument .