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

void
addIsGreaterThan(IsGreaterThan i)
void
addIsLessThan(IsLessThan i)
void
addIsPropertyFalse(IsPropertyFalse i)
Adds a feature to the IsPropertyFalse attribute of the BooleanConditionBase object
void
addIsPropertyTrue(IsPropertyTrue i)
Adds a feature to the IsPropertyTrue attribute of the BooleanConditionBase object
int
getConditionCount()
Gets the conditionCount attribute of the BooleanConditionBase object
Condition
getFirstCondition()
Gets the firstCondition attribute of the BooleanConditionBase object

Method Details

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