Package io.pebbletemplates.pebble.node
Class ParallelNode
java.lang.Object
io.pebbletemplates.pebble.node.AbstractRenderableNode
io.pebbletemplates.pebble.node.ParallelNode
- All Implemented Interfaces:
Node
,RenderableNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BodyNode
private boolean
If the user is using the parallel tag but doesn't provide an ExecutorService we will warn them that this tag will essentially be ignored but it's important that we only warn them once because this tag may show up in a loop.private final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(NodeVisitor visitor) getBody()
void
render
(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context) Methods inherited from class io.pebbletemplates.pebble.node.AbstractRenderableNode
getLineNumber, setLineNumber
-
Field Details
-
logger
private final org.slf4j.Logger logger -
body
-
hasWarnedAboutNonExistingExecutorService
private boolean hasWarnedAboutNonExistingExecutorServiceIf the user is using the parallel tag but doesn't provide an ExecutorService we will warn them that this tag will essentially be ignored but it's important that we only warn them once because this tag may show up in a loop.
-
-
Constructor Details
-
ParallelNode
-
-
Method Details
-
render
public void render(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context) throws IOException - Specified by:
render
in interfaceRenderableNode
- Specified by:
render
in classAbstractRenderableNode
- Throws:
IOException
-
accept
- Specified by:
accept
in interfaceNode
- Specified by:
accept
in classAbstractRenderableNode
-
getBody
-