|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
gr.spinellis.ckjm.ant.CkjmTask
public class CkjmTask
Ant task definition for the CKJM metrics tool.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
CkjmTask()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Path |
createExtdirs()
Adds a path to extdirs. |
void |
execute()
Executes the CKJM Ant Task. |
org.apache.tools.ant.types.Path |
getExtdirs()
Gets the extension directories that will be used by ckjm. |
void |
setClassdir(java.io.File classDir)
Sets the dir which contains the class files that will be analyzed |
void |
setExtdirs(org.apache.tools.ant.types.Path e)
Sets the extension directories that will be used by ckjm. |
void |
setFormat(java.lang.String format)
Sets the format of the output file. |
void |
setOutputfile(java.io.File outputfile)
Sets the outputfile |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CkjmTask()
| Method Detail |
|---|
public void setFormat(java.lang.String format)
format - the format of the output file. Allowable values are 'plain' or
'xml'.public void setOutputfile(java.io.File outputfile)
outputfile - Location of outputfilepublic void setClassdir(java.io.File classDir)
classDir - Location of class filespublic void setExtdirs(org.apache.tools.ant.types.Path e)
extdirs - a path containing .jar filespublic org.apache.tools.ant.types.Path getExtdirs()
public org.apache.tools.ant.types.Path createExtdirs()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if an error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||