org.codehaus.mojo.javascript
Class AbstractCompressMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.javascript.AbstractCompressMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompressMojo, TitaniumPreparePackage, WebappCompressMojo

public abstract class AbstractCompressMojo
extends org.apache.maven.plugin.AbstractMojo

Abstact mojo for compressing JavaScripts.

Author:
nicolas De Loof

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCompressMojo()
           
 
Method Summary
 void execute()
          
protected  org.codehaus.plexus.util.DirectoryScanner getDirectoryScanner()
           
abstract  java.lang.String getExtension()
           
protected abstract  java.io.File getOutputDirectory()
           
protected abstract  java.io.File getSourceDirectory()
           
protected abstract  java.io.File getStrippedDirectory()
           
protected  void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 
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

AbstractCompressMojo

public AbstractCompressMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException

Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()

getDirectoryScanner

protected org.codehaus.plexus.util.DirectoryScanner getDirectoryScanner()

getExtension

public abstract java.lang.String getExtension()
Returns:
the extension to append to compressed scripts.

getOutputDirectory

protected abstract java.io.File getOutputDirectory()
Returns:
the outputDirectory

getStrippedDirectory

protected abstract java.io.File getStrippedDirectory()
Returns:
the outputDirectory

getSourceDirectory

protected abstract java.io.File getSourceDirectory()
Returns:
the sourceDirectory

setLocalRepository

protected void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)


Copyright © 2011 SOFTEC sa. All Rights Reserved.