org.codehaus.mojo.javancss
Class NcssExecuter

java.lang.Object
  extended byorg.codehaus.mojo.javancss.NcssExecuter

public class NcssExecuter
extends java.lang.Object

The NcssExecuter is able to call javaNcss to produce a code analysis.
The results are produced into a raw xml file.

Author:
Jean-Laurent de Morlhon

Constructor Summary
NcssExecuter(java.io.File sourceDirectory, java.lang.String outputFilename)
          Construct a NcssExecuter.
 
Method Summary
 void execute()
          Call the javaNcss code analysis tool to produce the result to a temporary file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NcssExecuter

public NcssExecuter(java.io.File sourceDirectory,
                    java.lang.String outputFilename)
Construct a NcssExecuter.

Parameters:
sourceDirectory - the directory where the source to analyse are.
outputFilename - the output file where the result will be written.
Method Detail

execute

public void execute()
             throws org.apache.maven.reporting.MavenReportException
Call the javaNcss code analysis tool to produce the result to a temporary file name.

Throws:
org.apache.maven.reporting.MavenReportException - if somethings goes bad during the execution


Copyright © 2005-2007 null. All Rights Reserved.