/** * <p> * Adds the context execution info to the variables map. * </p> * <p> * This {@link IContext} implementation adds an object of the * {@link ContextExecutionInfo} class with variable name <tt>execInfo</tt>. * </p> * * @param templateName the name of the template being executed */ public final void addContextExecutionInfo(final String templateName) { Validate.notEmpty(templateName, "Template name cannot be null or empty"); setVariable(EXEC_INFO_VARIABLE_NAME, buildContextExecutionInfo(templateName)); }