com.googlecode.jslint4java.maven
Class JSLintMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.googlecode.jslint4java.maven.JSLintMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JSLintMojo
extends org.apache.maven.plugin.AbstractMojo

Validates JavaScript using jslint4java.

Author:
dom

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JSLintMojo()
           
 
Method Summary
 void execute()
           
 void setDefaultSourceFolder(File defaultSourceFolder)
           
 void setEncoding(String encoding)
           
 void setExcludes(List<String> excludes)
           
 void setFailOnError(boolean b)
           
 void setIncludes(List<String> includes)
           
 void setJslint(File jslintSource)
          The location of the JSLint source file.
 void setOptions(Map<String,String> options)
           
 void setOutputFolder(File outputFolder)
           
 void setSourceFolders(List<File> sourceFolders)
           
 
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

JSLintMojo

public JSLintMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

setDefaultSourceFolder

public void setDefaultSourceFolder(File defaultSourceFolder)

setEncoding

public void setEncoding(String encoding)

setExcludes

public void setExcludes(List<String> excludes)

setFailOnError

public void setFailOnError(boolean b)

setIncludes

public void setIncludes(List<String> includes)

setJslint

public void setJslint(File jslintSource)
The location of the JSLint source file.


setOptions

public void setOptions(Map<String,String> options)

setOutputFolder

public void setOutputFolder(File outputFolder)

setSourceFolders

public void setSourceFolders(List<File> sourceFolders)


Copyright © 2007-2012. All Rights Reserved.