Uses of Class
io.pebbletemplates.pebble.PebbleEngine.Builder
Packages that use PebbleEngine.Builder
-
Uses of PebbleEngine.Builder in io.pebbletemplates.pebble
Methods in io.pebbletemplates.pebble that return PebbleEngine.BuilderModifier and TypeMethodDescriptionPebbleEngine.Builder.addEscapingStrategy
(String name, EscapingStrategy strategy) Adds an escaping strategy to the built-in escaper extension.PebbleEngine.Builder.allowOverrideCoreOperators
(boolean allowOverrideCoreOperators) Sets whether or not core operators overrides should be allowed.PebbleEngine.Builder.autoEscaping
(boolean autoEscaping) Sets whether or not escaping should be performed automatically.PebbleEngine.Builder.cacheActive
(boolean cacheActive) Enable/disable all caches, i.e.PebbleEngine.Builder.defaultEscapingStrategy
(String strategy) Sets the default escaping strategy of the built-in escaper extension.PebbleEngine.Builder.defaultLocale
(Locale defaultLocale) Sets the Locale passed to all templates constructed by this PebbleEngine.PebbleEngine.Builder.executorService
(ExecutorService executorService) Sets the executor service which is required if using one of Pebble's multithreading features such as the "parallel" tag.Adds an extension, can be safely invoked several times to add different extensions.PebbleEngine.Builder.greedyMatchMethod
(boolean greedyMatchMethod) Enable/disable greedy matching mode for finding java method.PebbleEngine.Builder.literalDecimalTreatedAsInteger
(boolean literalDecimalTreatedAsInteger) Enable/disable treat literal decimal as Integer.PebbleEngine.Builder.literalNumbersAsBigDecimals
(boolean literalNumbersAsBigDecimals) Enable/disable treat literal numbers as BigDecimals.Sets the loader used to find templates.PebbleEngine.Builder.maxRenderedSize
(int maxRenderedSize) Sets the maximum size of the rendered template to protect against macro bombs.PebbleEngine.Builder.methodAccessValidator
(MethodAccessValidator methodAccessValidator) Validator that can be used to validate object/method accessPebbleEngine.Builder.newLineTrimming
(boolean enableNewLineTrimming) Changes thenewLineTrimming
setting of the PebbleEngine.PebbleEngine.Builder.registerExtensionCustomizer
(Function<Extension, ExtensionCustomizer> customizer) Registers an implementation ofExtensionCustomizer
to change runtime-behaviour of standard functionality.PebbleEngine.Builder.strictVariables
(boolean strictVariables) Changes thestrictVariables
setting of the PebbleEngine.Sets the syntax to be used.PebbleEngine.Builder.tagCache
(PebbleCache<CacheKey, Object> tagCache) Sets the cache used by the "cache" tag.PebbleEngine.Builder.templateCache
(PebbleCache<Object, PebbleTemplate> templateCache) Sets the cache used by the engine to store compiled PebbleTemplate instances.