cn.dreampie.coffeescript.compiler
类 CoffeeScriptCompiler

java.lang.Object
  继承者 cn.dreampie.coffeescript.compiler.AbstractCoffeeScript
      继承者 cn.dreampie.coffeescript.compiler.CoffeeScriptCompiler

public class CoffeeScriptCompiler
extends AbstractCoffeeScript

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 coffee files and compile if it detects one.
 
从类 cn.dreampie.coffeescript.compiler.AbstractCoffeeScript 继承的字段
buildContext, excludes, includes, skip, sourceDirectory
 
构造方法摘要
CoffeeScriptCompiler()
           
 
方法摘要
 void execute()
          Execute the MOJO.
 File getCoffeeJs()
           
 String getEncoding()
           
 long getLastErrorModified()
           
 String getNodeExecutable()
           
 File getOutputDirectory()
           
 String getOutputFileFormat()
           
 int getWatchInterval()
           
 boolean isCompress()
           
 boolean isForce()
           
 boolean isWatch()
           
 void setArgs(String... args)
           
 void setCoffeeJs(File coffeeJs)
           
 void setCompress(boolean compress)
           
 void setEncoding(String encoding)
           
 void setForce(boolean force)
           
 void setLastErrorModified(long lastErrorModified)
           
 void setNodeExecutable(String nodeExecutable)
           
 void setOutputDirectory(File outputDirectory)
           
 void setOutputFileFormat(String outputFileFormat)
           
 void setWatch(boolean watch)
           
 void setWatchInterval(int watchInterval)
           
 
从类 cn.dreampie.coffeescript.compiler.AbstractCoffeeScript 继承的方法
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.

parameter expression="${coffeejs.outputDirectory}" default-value="${project.build.directory}" required


watch

protected boolean watch
When true the plugin will watch for changes in coffee files and compile if it detects one.

parameter expression="${coffeejs.watch}" default-value="false"

构造方法详细信息

CoffeeScriptCompiler

public CoffeeScriptCompiler()
方法详细信息

execute

public void execute()
             throws CoffeeException
Execute the MOJO.

抛出:
CoffeeException - 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)

getCoffeeJs

public File getCoffeeJs()

setCoffeeJs

public void setCoffeeJs(File coffeeJs)

getNodeExecutable

public String getNodeExecutable()

setNodeExecutable

public void setNodeExecutable(String nodeExecutable)

getOutputFileFormat

public String getOutputFileFormat()

setOutputFileFormat

public void setOutputFileFormat(String outputFileFormat)

setArgs

public void setArgs(String... args)

getLastErrorModified

public long getLastErrorModified()

setLastErrorModified

public void setLastErrorModified(long lastErrorModified)


Copyright © 2014. All rights reserved.