cn.dreampie.lesscss.compiler
类 LessCssCompiler
java.lang.Object
cn.dreampie.lesscss.compiler.AbstractLessCss
cn.dreampie.lesscss.compiler.LessCssCompiler
public class LessCssCompiler
- extends AbstractLessCss
Created by wangrenhui on 2014/7/11.
|
字段摘要 |
protected File |
outputDirectory
The directory for compiled CSS stylesheets. |
protected boolean |
watch
When true the plugin will watch for changes in LESS files and compile if it detects one. |
| 从类 cn.dreampie.lesscss.compiler.AbstractLessCss 继承的方法 |
getBuildContext, getExcludes, getIncludedFiles, getIncludes, getSourceDirectory, isSkip, setBuildContext, setExcludes, setIncludes, setSkip, setSourceDirectory |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputDirectory
protected File outputDirectory
- The directory for compiled CSS stylesheets.
watch
protected boolean watch
- When
true the plugin will watch for changes in LESS files and compile if it detects one.
LessCssCompiler
public LessCssCompiler()
execute
public void execute()
throws LessCssException
- Execute the MOJO.
- 抛出:
LessCssException - if something unexpected occurs.
getOutputDirectory
public File getOutputDirectory()
setOutputDirectory
public void setOutputDirectory(File outputDirectory)
isCompress
public boolean isCompress()
setCompress
public void setCompress(boolean compress)
isWatch
public boolean isWatch()
setWatch
public void setWatch(boolean watch)
getWatchInterval
public int getWatchInterval()
setWatchInterval
public void setWatchInterval(int watchInterval)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
isForce
public boolean isForce()
setForce
public void setForce(boolean force)
getLessJs
public File getLessJs()
setLessJs
public void setLessJs(File lessJs)
getNodeExecutable
public String getNodeExecutable()
setNodeExecutable
public void setNodeExecutable(String nodeExecutable)
getOutputFileFormat
public String getOutputFileFormat()
setOutputFileFormat
public void setOutputFileFormat(String outputFileFormat)
getLastErrorModified
public long getLastErrorModified()
setLastErrorModified
public void setLastErrorModified(long lastErrorModified)
Copyright © 2014. All rights reserved.