public abstract class CoffeeScriptMojoBase
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
CoffeeScriptMojoBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
compileCoffeeFile(CoffeeScriptCompiler compiler,
java.nio.file.Path coffeeFile,
java.nio.file.Path jsFile,
String coffeeFileName,
String jsFileName) |
protected void |
compileCoffeeFilesInDir(CoffeeScriptCompiler compiler,
java.nio.file.Path sourceDirectory,
java.nio.file.Path outputDirectory) |
protected abstract void |
doExecute(CoffeeScriptCompiler compiler,
java.nio.file.Path sourceDirectory,
java.nio.file.Path outputDirectory) |
void |
execute() |
protected String |
getJsFileName(String coffeeFileName) |
protected boolean |
isCoffeeFile(java.nio.file.Path file) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract void doExecute(CoffeeScriptCompiler compiler, java.nio.file.Path sourceDirectory, java.nio.file.Path outputDirectory) throws Exception
Exceptionprotected void compileCoffeeFilesInDir(CoffeeScriptCompiler compiler, java.nio.file.Path sourceDirectory, java.nio.file.Path outputDirectory) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean isCoffeeFile(java.nio.file.Path file)
protected boolean compileCoffeeFile(CoffeeScriptCompiler compiler, java.nio.file.Path coffeeFile, java.nio.file.Path jsFile, String coffeeFileName, String jsFileName) throws IOException
IOExceptionCopyright © 2011-2012. All Rights Reserved.