org.apache.tools.ant.taskdefs.condition

Interface Condition

Known Implementing Classes:
And, Available, Checksum, Contains, Equals, FilesMatch, Http, IsFalse, IsReference, IsSet, IsTrue, Not, Or, Os, Socket, UpToDate

public interface Condition

Interface for conditions to use inside the <condition> task.

Version:
$Revision: 1.6.2.4 $

Method Summary

boolean
eval()
Is this condition true?

Method Details

eval

public boolean eval()
            throws BuildException
Is this condition true?

Returns:
true if the condition is true

Throws:
BuildException - if an error occurs


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