Uses of Class
org.apache.juneau.console.freemarker.ConsoleFreemarkerMixin.Builder
Packages that use ConsoleFreemarkerMixin.Builder
Package
Description
FreeMarker-only delivery of the admin-console chrome: the reserved-classpath
base.ftlh template, the
<@tag> macro, and ConsoleFreemarkerMixin
(registers a reserved-path ClassTemplateLoader on top of the host's own FreemarkerMixin
configuration).-
Uses of ConsoleFreemarkerMixin.Builder in org.apache.juneau.console.freemarker
Methods in org.apache.juneau.console.freemarker that return ConsoleFreemarkerMixin.BuilderModifier and TypeMethodDescriptionConsoleFreemarkerMixin.Builder.adopterAssets(ClassLoader loader, String resourceRoot) Enables theassetUrl(path)template function that versions the adopter's own static assets.Sets the classpath base path under which template resources are resolved.ConsoleFreemarkerMixin.Builder.cardRequires(String type, String... packs) Adds packs every card of a type requires, after the built-in one (datatables→"datatables-glue").ConsoleFreemarkerMixin.Builder.cardType(CardTypeHandler handler) Registers a server-side card type handler for this mixin's<@card>directive, on top ofCardTypeRegistry.standard().ConsoleFreemarkerMixin.Builder.chromeTemplate(String chromeTemplate) Sets the consumer chrome template that<@page>includes after capturing its body.ConsoleFreemarkerMixin.create()Creates a new builder.ConsoleFreemarkerMixin.Builder.devMode(boolean value) Validates every page contract againstjuneau-page.schema.jsonwhen<@console>closes, and fails the render with E-14 on any finding.ConsoleFreemarkerMixin.Builder.providedPacks(String... names) Names packs the app's chrome already loads.ConsoleFreemarkerMixin.Builder.registerToolkitPack(String name, List<String> cssPaths, List<String> jsPaths) Registers an app-suppliedToolkitPack.Kind.RUNTIMEtoolkit pack with no dependencies.ConsoleFreemarkerMixin.Builder.registerToolkitPack(ToolkitPack pack) Registers an app-supplied toolkit pack.ConsoleFreemarkerMixin.Builder.requirePacks(String... names) Opts in to the startup WebJar check: the named packs (for example"charts") are expanded throughdependsOnand every WebJar they reach is probed when the mixin is built, so a missingorg.webjars.npm:echartsfails at startup (E-70) instead of on the first chart page.Constructors in org.apache.juneau.console.freemarker with parameters of type ConsoleFreemarkerMixin.BuilderModifierConstructorDescriptionprotectedBuilder constructor.