src/main/java/org/fuin/srcgen4j/core/velocity/ParameterizedTemplateModel.java
public final void init(final SrcGen4JContext context, final Map<String, String> vars) {

        if (template != null) {
            template = Utils4J.replaceVars(template, vars);
        }
        if (arguments != null) {
            for (final Argument argument : arguments) {
                argument.init(vars);
            }
        }
        if (targetFiles != null) {
            for (final TargetFile targetFile : targetFiles) {
                targetFile.init(vars);
            }
        }
        if (tflProducerConfig != null) {
            tflProducerConfig.init(context, this, vars);
        }
    }
public final void init(final SrcGen4JContext context, final Map<String, String> vars) {

        if (template != null) {
            template = Utils4J.replaceVars(template, vars);
        }
        if (arguments != null) {
            for (final Argument argument : arguments) {
                argument.init(vars);
            }
        }
        if (targetFiles != null) {
            for (final TargetFile targetFile : targetFiles) {
                targetFile.init(vars);
            }
        }
        if (tflProducerConfig != null) {
            tflProducerConfig.init(context, this, vars);
        }
    }
public final void init ( final SrcGen4JContext context , final Map < String , String > vars ) { if ( template != null ) { template = Utils4J . replaceVars ( template , vars ) ; } if ( arguments != null ) { for ( final Argument argument : arguments ) { argument . init ( vars ) ; } } if ( targetFiles != null ) { for ( final TargetFile targetFile : targetFiles ) { targetFile . init ( vars ) ; } } if ( tflProducerConfig != null ) { tflProducerConfig . init ( context , this , vars ) ; } }
Initializes the model.

@param context
Current context.
@param vars
Variables to use.
Initializes the model .