public void runScript ( ) { if ( script . trim ( ) . length ( ) > 0 ) { BufferedReader reader = new BufferedReader ( new StringReader ( script ) ) ; try { List results = runScript ( reader ) ; System . out . println ( new LogEntry ( Level . CRITICAL , "completed run of script in device '\" + this.deviceId + \"'\"" ) ) ; } catch ( Throwable t ) { throw new ConfigurationException ( "failed to complete run of script" , t ) ; } } }
Runs Iglu - style script .