org.anadix.utils
Class AnalyzerAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.anadix.utils.AnalyzerAntTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class AnalyzerAntTask
extends org.apache.tools.ant.taskdefs.MatchingTask

Ant task for analyzing files in source directory. All attributes are optional since they have the default values set. Default values:

Version:
$Id: $
Author:
tomason
See Also:
Anadix

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
AnalyzerAntTask()
           
 
Method Summary
 void execute()
          
 void setConditionSetClass(String conditionSetClass)
          Sets the condition set used
 void setFormatterClass(String formatterClass)
          Sets the formatter used
 void setParserClass(String parserClass)
          Sets the parser used
 void setReportsDir(File reportsDir)
          Sets the directory to store reports
 void setSourcesDir(File dir)
          Sets the directory to load source files from
 
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

AnalyzerAntTask

public AnalyzerAntTask()
Method Detail

setParserClass

public void setParserClass(String parserClass)
Sets the parser used

Parameters:
parserClass - parser class name

setConditionSetClass

public void setConditionSetClass(String conditionSetClass)
Sets the condition set used

Parameters:
conditionSetClass - condition set class name

setFormatterClass

public void setFormatterClass(String formatterClass)
Sets the formatter used

Parameters:
formatterClass - formatter class name

setSourcesDir

public void setSourcesDir(File dir)
Sets the directory to load source files from

Parameters:
dir - instance of File denoting the directory

setReportsDir

public void setReportsDir(File reportsDir)
Sets the directory to store reports

Parameters:
reportsDir - instance of File denoting the directory

execute

public void execute()
             throws org.apache.tools.ant.BuildException

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2012. All Rights Reserved.