protected final ST generateScript ( String clazz , HashMap < String , Boolean > targetMap ) { ST ret = this . stg . getInstanceOf ( "generateExec" ) ; ret . add ( "target" , targetMap ) ; ret . add ( "applicationHome" , this . applicationDir ) ; ret . add ( "runName" , this . configuration . get ( PROP_RUN_SCRIPT_NAME ) ) ; ret . add ( "class" , clazz ) ; return ret ; }
Generates a script .