Package io.github.erdos.stencil
Class PrepareOptions
- java.lang.Object
-
- io.github.erdos.stencil.PrepareOptions
-
public final class PrepareOptions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getTemporaryDirectoryOverride()
Used to override the default temporary directory that is used to store prepared templates.boolean
isOnlyIncludes()
static PrepareOptions
options()
PrepareOptions
withOnlyIncludes()
When marked withOnlyIncludes, then the prepared template will evaluate only fragment include directives and not other expressions.PrepareOptions
withTemporaryDirectoryOverride(java.io.File tmpDir)
-
-
-
Method Detail
-
options
public static PrepareOptions options()
-
isOnlyIncludes
public boolean isOnlyIncludes()
-
getTemporaryDirectoryOverride
public java.io.File getTemporaryDirectoryOverride()
Used to override the default temporary directory that is used to store prepared templates.
-
withTemporaryDirectoryOverride
public PrepareOptions withTemporaryDirectoryOverride(java.io.File tmpDir)
-
withOnlyIncludes
public PrepareOptions withOnlyIncludes()
When marked withOnlyIncludes, then the prepared template will evaluate only fragment include directives and not other expressions.
-
-