@SuppressWarnings("unchecked")
    public List<String> getScriptsToExecute() {
        List<String> scriptsToExecute =
            (List<String>) context.getAttributes().get(EXECUTE_SCRIPT_KEY);

        if (scriptsToExecute == null) {
            scriptsToExecute = new ArrayList<>();
            context.getAttributes().put(EXECUTE_SCRIPT_KEY, scriptsToExecute);
        }

        return scriptsToExecute;
    }
@ SuppressWarnings ( "unchecked" ) public List < String > getScriptsToExecute ( ) { List < String > scriptsToExecute = ( List < String > ) context . getAttributes ( ) . get ( EXECUTE_SCRIPT_KEY ) ; if ( scriptsToExecute == null ) { scriptsToExecute = new ArrayList < > ( ) ; context . getAttributes ( ) . put ( EXECUTE_SCRIPT_KEY , scriptsToExecute ) ; } return scriptsToExecute ; }
@return all scripts added in the current request.