public class Less4jWebpipe
extends org.hibnet.webpipes.processor.ProcessingWebpipe
| Modifier and Type | Class and Description |
|---|---|
private class |
Less4jWebpipe.RelativeAwareLessSource
Required to use the less4j import mechanism.
|
| Modifier and Type | Field and Description |
|---|---|
private static com.github.sommeri.less4j.LessCompiler |
compiler |
private java.util.List<org.hibnet.webpipes.resource.Resource> |
importedResources |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
Less4jWebpipe(org.hibnet.webpipes.Webpipe webpipe) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<org.hibnet.webpipes.Webpipe> |
buildChildrenList() |
protected org.hibnet.webpipes.WebpipeOutput |
fetchContent() |
private void |
logWarnings(com.github.sommeri.less4j.LessCompiler.CompilationResult result) |
private java.lang.String |
problemAsString(com.github.sommeri.less4j.LessCompiler.Problem problem) |
boolean |
refresh() |
getId, getName, updateDigestprivate static final org.slf4j.Logger LOG
private static final com.github.sommeri.less4j.LessCompiler compiler
private java.util.List<org.hibnet.webpipes.resource.Resource> importedResources
protected org.hibnet.webpipes.WebpipeOutput fetchContent()
throws java.lang.Exception
fetchContent in class org.hibnet.webpipes.Webpipejava.lang.Exceptionpublic boolean refresh()
throws java.io.IOException
refresh in class org.hibnet.webpipes.processor.ProcessingWebpipejava.io.IOExceptionprotected java.util.List<org.hibnet.webpipes.Webpipe> buildChildrenList()
throws java.io.IOException
buildChildrenList in class org.hibnet.webpipes.Webpipejava.io.IOExceptionprivate void logWarnings(com.github.sommeri.less4j.LessCompiler.CompilationResult result)
private java.lang.String problemAsString(com.github.sommeri.less4j.LessCompiler.Problem problem)