jxUtil 0.6

org.sourceforge.jxutil
Class VersionFilterTaskDef

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.sourceforge.jxutil.VersionFilterTaskDef

public class VersionFilterTaskDef
extends org.apache.tools.ant.Task

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.

Version:
$Revision: 1.2 $, $Date: 2002/03/18 19:17:38 $
Author:
Keve Müller

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

maxVersion

private int maxVersion
The maximum version number to generate filters for.


stem

private String stem
The property stem to operate with.

Constructor Detail

VersionFilterTaskDef

public VersionFilterTaskDef()
Method Detail

execute

public void execute()
Execute the task.

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

setMaxVersion

public void setMaxVersion(int maxVersion)
The setter for the "maxVersion" attribute

Parameters:
maxVersion - the maxVersion property

setProp

public void setProp(String stem)
The setter for the "prop" attribute.

Parameters:
stem - the property stem

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.