Class CacheLambda
- java.lang.Object
-
- org.openapitools.codegen.templating.mustache.CacheLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
public class CacheLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Caches rendered text by key. Syntax: {{#cacheScope}}key|rendered text{{/cacheScope}}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheLambda.CacheContent
-
Constructor Summary
Constructors Constructor Description CacheLambda(CacheLambda.CacheContent cacheContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(com.samskivert.mustache.Template.Fragment fragment, Writer writer)
-
-
-
Constructor Detail
-
CacheLambda
public CacheLambda(CacheLambda.CacheContent cacheContent)
-
-
Method Detail
-
execute
public void execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer) throws IOException- Specified by:
executein interfacecom.samskivert.mustache.Mustache.Lambda- Throws:
IOException
-
-