Package com.hubspot.jinjava
Class JinjavaConfig
- java.lang.Object
-
- com.hubspot.jinjava.JinjavaConfig
-
public class JinjavaConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JinjavaConfig.Builder
-
Constructor Summary
Constructors Constructor Description JinjavaConfig()
JinjavaConfig(InterpreterFactory interpreterFactory)
JinjavaConfig(Charset charset, Locale locale, ZoneId timeZone, int maxRenderDepth)
-
Method Summary
-
-
-
Constructor Detail
-
JinjavaConfig
public JinjavaConfig()
-
JinjavaConfig
public JinjavaConfig(InterpreterFactory interpreterFactory)
-
-
Method Detail
-
newBuilder
public static JinjavaConfig.Builder newBuilder()
-
getCharset
public Charset getCharset()
-
getLocale
public Locale getLocale()
-
getTimeZone
public ZoneId getTimeZone()
-
getMaxRenderDepth
public int getMaxRenderDepth()
-
getMaxOutputSize
public long getMaxOutputSize()
-
getMaxListSize
public int getMaxListSize()
-
getMaxMapSize
public int getMaxMapSize()
-
getRangeLimit
public int getRangeLimit()
-
getMaxNumDeferredTokens
public int getMaxNumDeferredTokens()
-
getRandomNumberGeneratorStrategy
public RandomNumberGeneratorStrategy getRandomNumberGeneratorStrategy()
-
isTrimBlocks
public boolean isTrimBlocks()
-
isLstripBlocks
public boolean isLstripBlocks()
-
isEnableRecursiveMacroCalls
public boolean isEnableRecursiveMacroCalls()
-
getMaxMacroRecursionDepth
public int getMaxMacroRecursionDepth()
-
getDisabled
public Map<Context.Library,Set<String>> getDisabled()
-
isFailOnUnknownTokens
public boolean isFailOnUnknownTokens()
-
isNestedInterpretationEnabled
public boolean isNestedInterpretationEnabled()
-
isValidationMode
public boolean isValidationMode()
-
getMaxStringLength
public long getMaxStringLength()
-
getInterpreterFactory
public InterpreterFactory getInterpreterFactory()
-
getTokenScannerSymbols
public TokenScannerSymbols getTokenScannerSymbols()
-
setTokenScannerSymbols
public void setTokenScannerSymbols(TokenScannerSymbols tokenScannerSymbols)
-
getElResolver
public javax.el.ELResolver getElResolver()
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
getObjectUnwrapper
public ObjectUnwrapper getObjectUnwrapper()
-
getNodePreProcessor
@Deprecated public BiConsumer<Node,JinjavaInterpreter> getNodePreProcessor()
Deprecated.
-
getProcessors
public JinjavaProcessors getProcessors()
-
isIterateOverMapKeys
@Deprecated public boolean isIterateOverMapKeys()
Deprecated.Replaced byLegacyOverrides.isIterateOverMapKeys()
-
getExecutionMode
public ExecutionMode getExecutionMode()
-
getLegacyOverrides
public LegacyOverrides getLegacyOverrides()
-
getEnablePreciseDivideFilter
public boolean getEnablePreciseDivideFilter()
-
getDateTimeProvider
public DateTimeProvider getDateTimeProvider()
-
getFeatures
public Features getFeatures()
-
-