|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.sourceforge.jxutil.VersionFilterTaskDef
Check the a version property and setup filters for inclusion/exclusion of parts of the code. ifjavaX means the detected Java version is exactly X ifjavaXu means the detected JDBC version is at least X ifjavaXb means the detected JDBC version is at most X depjavaX means deprecated is inserted in versions >= X The property isjavaX is set to "yes". The property javadone is set to "javaX", the detected Java level.
Field Summary | |
private int |
maxVersion
The maximum version number to generate filters for. |
private String |
stem
The property stem to operate with. |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
VersionFilterTaskDef()
|
Method Summary | |
void |
execute()
Execute the task. |
void |
setMaxVersion(int maxVersion)
The setter for the "maxVersion" attribute |
void |
setProp(String stem)
The setter for the "prop" attribute. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int maxVersion
private String stem
Constructor Detail |
public VersionFilterTaskDef()
Method Detail |
public void execute()
execute
in class org.apache.tools.ant.Task
public void setMaxVersion(int maxVersion)
maxVersion
- the maxVersion propertypublic void setProp(String stem)
stem
- the property stem
|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |