protected Map < String , Map < String , String > > createStepItemDataContext ( final Framework framework , final String project , final Map < String , Map < String , String > > context , final Map < String , Object > configuration ) { final Map < String , Map < String , String > > localDataContext = createScriptDataContext ( framework , project , context ) ; final HashMap < String , String > configMap = new HashMap < String , String > ( ) ; //convert values to string for ( final Map . Entry < String , Object > entry : configuration . entrySet ( ) ) { configMap . put ( entry . getKey ( ) , entry . getValue ( ) . toString ( ) ) ; } localDataContext . put ( "config" , configMap ) ; return localDataContext ; }
Create a data context containing the plugin values file scriptfile and base as well as all config values .