Package ch.tocco.nice2.templating.api
Class RenderTemplateBodyTask
java.lang.Object
ch.tocco.nice2.templating.api.RenderTemplateBodyTask
- All Implemented Interfaces:
PersistTask<Tuple2<freemarker.template.TemplateDirectiveBody,
freemarker.core.Environment>, Void>
public class RenderTemplateBodyTask
extends Object
implements PersistTask<Tuple2<freemarker.template.TemplateDirectiveBody,freemarker.core.Environment>,Void>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Void
run
(Optional<Tuple2<freemarker.template.TemplateDirectiveBody, freemarker.core.Environment>> arg, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
RenderTemplateBodyTask
public RenderTemplateBodyTask()
-
-
Method Details
-
run
@Nullable public @Nullable Void run(Optional<Tuple2<freemarker.template.TemplateDirectiveBody, freemarker.core.Environment>> arg, CommandContext commandContext) throws InterruptedException- Specified by:
run
in interfacePersistTask<Tuple2<freemarker.template.TemplateDirectiveBody,
freemarker.core.Environment>, Void> - Throws:
InterruptedException
-