src/main/java/de/vandermeer/execs/Gen_RunScripts.java
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;
	}
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;
	}
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.
@param clazz the class for the script
@param targetMap map for targets
@return the final template for the script
Generates a script .