@Override @SuppressWarnings("unchecked") public O process(I item) throws Exception { Map<String, Object> arguments = new HashMap<>(); arguments.put(itemBindingVariableName, item); return (O) scriptEvaluator.evaluate(getScriptSource(), arguments); }
@Override @SuppressWarnings("unchecked") public O process(I item) throws Exception { Map<String, Object> arguments = new HashMap<String, Object>(); arguments.put(itemBindingVariableName, item); return (O) scriptEvaluator.evaluate(getScriptSource(), arguments); }