Package com.hubspot.jinjava.mode
Interface ExecutionMode
-
- All Known Implementing Classes:
DefaultExecutionMode
,EagerExecutionMode
,NonRevertingEagerExecutionMode
,PreserveRawExecutionMode
public interface ExecutionMode
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isPreserveRawTags()
default void
prepareContext(Context context)
default boolean
useEagerContextReverting()
This will determine if the entire context can be reverted or if only the current scope can get reverted.default boolean
useEagerParser()
-
-
-
Method Detail
-
isPreserveRawTags
default boolean isPreserveRawTags()
-
useEagerParser
default boolean useEagerParser()
-
useEagerContextReverting
default boolean useEagerContextReverting()
This will determine if the entire context can be reverted or if only the current scope can get reverted. A snapshot of the context is created so it is expensive to do so with the entire context, but less expensive to only do that with the current scope- Returns:
- whether the entire context (true) or just the current scope (false) will have a snapshot created to allow reverting of modified values in deferred execution mode.
-
prepareContext
default void prepareContext(Context context)
-
-