org.apache.tools.ant.taskdefs.condition

Class IsSet

public class IsSet extends ProjectComponent implements Condition

Condition that tests whether a given property has been set.

Since: Ant 1.5

Method Summary
booleaneval()
voidsetProperty(String p)
Set the property attribute

Method Detail

eval

public boolean eval()

Returns: true if the property exists

Throws: BuildException if the property attribute is not set

setProperty

public void setProperty(String p)
Set the property attribute

Parameters: p the property name

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