Class IsPropertyTrue

  • All Implemented Interfaces:
    java.lang.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.
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      IsPropertyTrue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        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 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