org.lesscss.mojo
Class AbstractLessCssMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.lesscss.mojo.AbstractLessCssMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileMojo, ListMojo

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

Abstract class which provides common configuration properties and methods.

Author:
Marcel Overdijk

Field Summary
protected  org.sonatype.plexus.build.incremental.BuildContext buildContext
           
protected  String[] excludes
          List of files to exclude.
protected  String[] includes
          List of files to include.
protected  File sourceDirectory
          The source directory containing the LESS sources.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLessCssMojo()
           
 
Method Summary
protected  String[] getIncludedFiles()
          Scans for the LESS sources that should be compiled.
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

buildContext

protected org.sonatype.plexus.build.incremental.BuildContext buildContext

sourceDirectory

protected File sourceDirectory
The source directory containing the LESS sources.


includes

protected String[] includes
List of files to include. Specified as fileset patterns which are relative to the source directory. Default value is: { "**\/*.less" }


excludes

protected String[] excludes
List of files to exclude. Specified as fileset patterns which are relative to the source directory.

Constructor Detail

AbstractLessCssMojo

public AbstractLessCssMojo()
Method Detail

getIncludedFiles

protected String[] getIncludedFiles()
Scans for the LESS sources that should be compiled.

Returns:
The list of LESS sources.


Copyright © 2012. All Rights Reserved.