org.jcoderz.phoenix.report
Class JcReportAntTask.NestedCpdElement

java.lang.Object
  extended by org.jcoderz.phoenix.report.JcReportAntTask.NestedToolElement
      extended by org.jcoderz.phoenix.report.JcReportAntTask.NestedCpdElement
Enclosing class:
JcReportAntTask

public static class JcReportAntTask.NestedCpdElement
extends JcReportAntTask.NestedToolElement


Field Summary
 
Fields inherited from class org.jcoderz.phoenix.report.JcReportAntTask.NestedToolElement
mCommandline, mMaxHeap, mPath, mTask
 
Constructor Summary
JcReportAntTask.NestedCpdElement(JcReportAntTask task)
           
 
Method Summary
 File execute(File reportDir, File srcDir, File clsDir)
          Executes the cpd tool in a separate process.
 void setEncoding(String encoding)
           
 void setMinimumtokens(String minimumtokens)
           
 void setOutputEncoding(String encoding)
           
 
Methods inherited from class org.jcoderz.phoenix.report.JcReportAntTask.NestedToolElement
createClasspath, setMaxheap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcReportAntTask.NestedCpdElement

public JcReportAntTask.NestedCpdElement(JcReportAntTask task)
Method Detail

setMinimumtokens

public void setMinimumtokens(String minimumtokens)

setEncoding

public void setEncoding(String encoding)

setOutputEncoding

public void setOutputEncoding(String encoding)

execute

public File execute(File reportDir,
                    File srcDir,
                    File clsDir)
Executes the cpd tool in a separate process. The following command line switches are supported by this method:
 CPD --minimum-tokens xxx --files xxx
 

Specified by:
execute in class JcReportAntTask.NestedToolElement


Copyright 2007 The jCoderZ Project.