sirius.web.templates.ContentContextExtender Maven / Gradle / Ivy
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*/
package sirius.web.templates;
import sirius.kernel.commons.Context;
import javax.annotation.Nonnull;
/**
* Can be supplied to the content model (using the {@link sirius.kernel.di.std.Register} annotation) in order to
* extend (initialize) the contexts used by the {@link Templates.Generator}.
*/
public interface ContentContextExtender {
/**
* Invoked once for each generated context to be supplied with pre-defined variables.
*
* @param context the context to enhance
*/
void extend(@Nonnull Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy