public static class LessCompiler.Configuration extends Object
| Constructor and Description |
|---|
LessCompiler.Configuration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomFunction(LessFunction functionPackage) |
void |
addCustomFunctions(List<LessFunction> functionPackages) |
void |
addExternalVariable(String name,
String value) |
void |
addExternalVariables(Map<String,String> variables) |
LessCompiler.Cache |
getCache() |
LessSource |
getCssResultLocation()
This is needed in for source map.
|
List<LessFunction> |
getCustomFunctions() |
EmbeddedScriptGenerator |
getEmbeddedScriptGenerator() |
LessCompiler.SourceMapConfiguration |
getSourceMapConfiguration() |
Map<String,String> |
getVariables() |
boolean |
hasIeCompatibility()
Turns off and on ie-compatible limitations.
|
boolean |
isCompressing() |
LessCompiler.Configuration |
setCache(LessCompiler.Cache cache) |
LessCompiler.Configuration |
setCompressing(boolean compressing) |
void |
setCssResultLocation(File cssResultLocation) |
void |
setCssResultLocation(LessSource cssResultLocation) |
void |
setEmbeddedScriptGenerator(EmbeddedScriptGenerator embeddedScripting) |
void |
setIeCompatibility(boolean ieCompatibility)
Turns off and on ie-compatible limitations.
|
void |
setLinkSourceMap(boolean linkSourceMap)
Deprecated.
Use getSourceMapConfiguration().setLinkSourceMap(boolean)
instead
|
boolean |
shouldLinkSourceMap()
Deprecated.
Use getSourceMapConfiguration().shouldLinkSourceMap() instead
|
public LessSource getCssResultLocation()
public void setCssResultLocation(LessSource cssResultLocation)
public void setCssResultLocation(File cssResultLocation)
@Deprecated public boolean shouldLinkSourceMap()
public void setLinkSourceMap(boolean linkSourceMap)
public List<LessFunction> getCustomFunctions()
public void addCustomFunctions(List<LessFunction> functionPackages)
public void addCustomFunction(LessFunction functionPackage)
public EmbeddedScriptGenerator getEmbeddedScriptGenerator()
public void setEmbeddedScriptGenerator(EmbeddedScriptGenerator embeddedScripting)
public LessCompiler.SourceMapConfiguration getSourceMapConfiguration()
public LessCompiler.Configuration setCompressing(boolean compressing)
public boolean isCompressing()
public boolean hasIeCompatibility()
public void setIeCompatibility(boolean ieCompatibility)
public LessCompiler.Cache getCache()
public LessCompiler.Configuration setCache(LessCompiler.Cache cache)
Copyright © 2012–2016. All rights reserved.