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