org.apache.tools.ant.taskdefs.condition

Class IsFalse

Implemented Interfaces:
Condition

public class IsFalse
extends ProjectComponent
implements Condition

Condition that tests whether a given string evals to false

Since:
Ant 1.5

Field Summary

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

project

Method Summary

boolean
eval()
void
setValue(boolean value)
set the value to be tested; let ant eval it to true/false

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Method Details

eval

public boolean eval()
            throws BuildException
Specified by:
eval in interface Condition

Returns:
the inverted value;

Throws:
BuildException - if someone forgot to spec a value


setValue

public void setValue(boolean value)
set the value to be tested; let ant eval it to true/false

Parameters:
value - the value to test


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.