|
|||||||||
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
com.nokia.ant.taskdefs.AntLintTask
public class AntLintTask
AntLint Task. This task checks for common coding conventions and errors in Ant XML script files.
The current checks include:
Checks to be added:
Field Summary |
---|
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 | |
---|---|
AntLintTask()
AntLintTask Constructor |
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Add a set of files to copy. |
void |
execute()
|
void |
getConfiguration()
|
void |
setConfigFile(java.lang.String configurationPath)
Set the path of the configuration file to use. |
void |
treeWalk(org.dom4j.Document document)
|
void |
treeWalk(org.dom4j.Element element)
|
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, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntLintTask()
Method Detail |
---|
public void addFileset(org.apache.tools.ant.types.FileSet set)
set
- a set of files to AntLintTask.public void setConfigFile(java.lang.String configurationPath)
configurationPath
- path to config filepublic final void execute()
execute
in class org.apache.tools.ant.Task
public final void treeWalk(org.dom4j.Document document)
public final void treeWalk(org.dom4j.Element element)
public final void getConfiguration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |