@Role
public interface LESSCompiler
Modifier and Type | Method and Description |
---|---|
String |
compile(LESSResourceReference lessResourceReference,
boolean includeSkinStyle,
boolean useVelocity,
boolean force)
Compile a LESS resource.
|
String |
compile(LESSResourceReference lessResourceReference,
boolean includeSkinStyle,
boolean useVelocity,
String skin,
boolean force)
Compile a LESS resource.
|
String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException
lessResourceReference
- reference of the LESS resource to compileincludeSkinStyle
- include the main LESS file of the skin in order to have variables and mix-ins
defined thereuseVelocity
- either or not the resource be parsed by Velocity before compiling itforce
- force the computation, even if the output is already in the cache (not recommended)LESSCompilerException
- if problems occurString compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, String skin, boolean force) throws LESSCompilerException
lessResourceReference
- reference of the LESS resource to compileincludeSkinStyle
- include the main LESS file of the skin in order to have variables and mix-ins
defined thereskin
- name of the skin where the LESS file is locateduseVelocity
- either or not the resource be parsed by Velocity before compiling itforce
- force the computation, even if the output is already in the cache (not recommended)LESSCompilerException
- if problems occurCopyright © 2004–2022 XWiki. All rights reserved.