net.sf.antcontrib.logic.condition

Class BooleanConditionBase

public class BooleanConditionBase extends ConditionBase

Extends ConditionBase so I can get access to the condition count and the first condition. This is the class that the BooleanConditionTask is proxy for.

Developed for use with Antelope, migrated to ant-contrib Oct 2003.

Author: Dale Anson, danson@germane-software.com

Method Summary
voidaddIsGreaterThan(IsGreaterThan i)
voidaddIsLessThan(IsLessThan i)
voidaddIsPropertyFalse(IsPropertyFalse i)
Adds a feature to the IsPropertyFalse attribute of the BooleanConditionBase object
voidaddIsPropertyTrue(IsPropertyTrue i)
Adds a feature to the IsPropertyTrue attribute of the BooleanConditionBase object
intgetConditionCount()
Gets the conditionCount attribute of the BooleanConditionBase object
ConditiongetFirstCondition()
Gets the firstCondition attribute of the BooleanConditionBase object

Method Detail

addIsGreaterThan

public void addIsGreaterThan(IsGreaterThan i)

addIsLessThan

public void addIsLessThan(IsLessThan i)

addIsPropertyFalse

public void addIsPropertyFalse(IsPropertyFalse i)
Adds a feature to the IsPropertyFalse attribute of the BooleanConditionBase object

Parameters: i The feature to be added to the IsPropertyFalse attribute

addIsPropertyTrue

public void addIsPropertyTrue(IsPropertyTrue i)
Adds a feature to the IsPropertyTrue attribute of the BooleanConditionBase object

Parameters: i The feature to be added to the IsPropertyTrue attribute

getConditionCount

public int getConditionCount()
Gets the conditionCount attribute of the BooleanConditionBase object

Returns: The conditionCount value

getFirstCondition

public Condition getFirstCondition()
Gets the firstCondition attribute of the BooleanConditionBase object

Returns: The firstCondition value