org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt
Class DirectoryCompressMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.AbstractCompressMojo
          extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.DirectoryCompressMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DirectoryCompressMojo
extends AbstractCompressMojo

Goal to be used from a jar project, to compress the scripts present in some folder, and put the result in other folder.

Author:
nicolas De Loof

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DirectoryCompressMojo()
           
 
Method Summary
 String getExtension()
          
protected  File getOutputDirectory()
          
protected  File getSourceDirectory()
          
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.AbstractCompressMojo
execute, setLocalRepository
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryCompressMojo

public DirectoryCompressMojo()
Method Detail

getExtension

public String getExtension()

Specified by:
getExtension in class AbstractCompressMojo
Returns:
the extension to append to compressed scripts.
See Also:
org.codehaus.mojo.javascript.AbstractCompressMojo#getExtension()

getOutputDirectory

protected File getOutputDirectory()

Specified by:
getOutputDirectory in class AbstractCompressMojo
Returns:
the outputDirectory
See Also:
org.codehaus.mojo.javascript.AbstractCompressMojo#getOutputDirectory()

getSourceDirectory

protected File getSourceDirectory()

Specified by:
getSourceDirectory in class AbstractCompressMojo
Returns:
the sourceDirectory
See Also:
org.codehaus.mojo.javascript.AbstractCompressMojo#getSourceDirectory()


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.