com.github.jknack.amd4j
Class AnalizeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.github.jknack.amd4j.Amd4jMojo
          extended by com.github.jknack.amd4j.AnalizeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AnalizeMojo
extends Amd4jMojo

Analyze an AMD script file.

Since:
0.1.0

Field Summary
 
Fields inherited from class com.github.jknack.amd4j.Amd4jMojo
baseUrl, findNestedDependencies, names, paths
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AnalizeMojo()
           
 
Method Summary
protected  void doExecute(Amd4j amd4j, Config config)
          Execute the command.
protected  String header(String name)
          Generated a header for error reporting.
 
Methods inherited from class com.github.jknack.amd4j.Amd4jMojo
execute, execute, merge, newConfig, printf, processError
 
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

AnalizeMojo

public AnalizeMojo()
Method Detail

doExecute

protected void doExecute(Amd4j amd4j,
                         Config config)
                  throws IOException
Description copied from class: Amd4jMojo
Execute the command.

Specified by:
doExecute in class Amd4jMojo
Parameters:
amd4j - An Amd4j instance.
config - The configuration options.
Throws:
IOException - If something goes wrong.

header

protected String header(String name)
Description copied from class: Amd4jMojo
Generated a header for error reporting.

Overrides:
header in class Amd4jMojo
Parameters:
name - The script's name.
Returns:
A header.


Copyright © 2013. All Rights Reserved.