Class IsPropertyTrue
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.taskdefs.condition.IsTrue
net.sf.antcontrib.logic.condition.IsPropertyTrue
- All Implemented Interfaces:
Cloneable
,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
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tools.ant.taskdefs.condition.IsTrue
setValue
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
IsPropertyTrue
public IsPropertyTrue()
-
-
Method Details
-
setProperty
-
eval
public boolean eval() throws org.apache.tools.ant.BuildException- Specified by:
eval
in interfaceorg.apache.tools.ant.taskdefs.condition.Condition
- Overrides:
eval
in classorg.apache.tools.ant.taskdefs.condition.IsTrue
- Throws:
org.apache.tools.ant.BuildException
-