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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     

    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IsPropertyTrue

      public IsPropertyTrue()
  • Method Details

    • setProperty

      public void setProperty(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