net.sf.antcontrib.logic.condition
Class IsPropertyTrue

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.taskdefs.condition.IsTrue
          extended by net.sf.antcontrib.logic.condition.IsPropertyTrue
All Implemented Interfaces:
org.apache.tools.ant.taskdefs.condition.Condition

public class IsPropertyTrue
extends org.apache.tools.ant.taskdefs.condition.IsTrue

Extends IsTrue condition to check the value of a specified property.

Developed for use with Antelope, migrated to ant-contrib Oct 2003.

Version:
$Revision: 1.3 $
Author:
Dale Anson, danson@germane-software.com

Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
IsPropertyTrue()
           
 
Method Summary
 boolean eval()
           
 void setProperty(java.lang.String name)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.condition.IsTrue
setValue
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsPropertyTrue

public IsPropertyTrue()
Method Detail

setProperty

public void setProperty(java.lang.String name)

eval

public boolean eval()
             throws org.apache.tools.ant.BuildException
Specified by:
eval in interface org.apache.tools.ant.taskdefs.condition.Condition
Overrides:
eval in class org.apache.tools.ant.taskdefs.condition.IsTrue
Throws:
org.apache.tools.ant.BuildException