Code example for SimpleBindings

Methods: put

0
        this.script = script;
    } 
 
    @Override 
    public void handleEvent(EventBundle bundle) throws ClientException {
        Bindings bindings = new SimpleBindings();
        bindings.put("bundle", bundle);
        try { 
            script.run(bindings);
        } catch (Exception e) {
            throw ClientException.wrap(e);
        } 
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java