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 BodyNodeprivate booleanIf 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 TypeMethodDescriptionvoidaccept(NodeVisitor visitor) getBody()voidrender(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context) Methods inherited from class 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:
renderin interfaceRenderableNode- Specified by:
renderin classAbstractRenderableNode- Throws:
IOException
-
accept
- Specified by:
acceptin interfaceNode- Specified by:
acceptin classAbstractRenderableNode
-
getBody
-