The flowcontrol package serves largely as a root namespace for flow control related components; only the common utilities, interfaces, and the standard tasksets are defined here. The majority of the flow control classes belong to one of the three sub-packages: wrap, call, and match. Please see these packages for additional component information.
Two build components in this package, ConditionalTaskSet and RepeatedTaskSet, supply the basic flow control tasksets within AntX. If a script author wishes to execute a task or a set of tasks only when some condition holds, he would nest it (them) in one of these tasksets. With this main use scenario in mind, neither of these two tasksets is designed for programmatic extension; for instance, the shear number of condition parameters attached to a ConditionalTaskSet makes maintaining subclasses a bit of a pain. Out-of-the-box, both flow control tasksets support generic criteria based control parameters. This support lets you link a set of tasks to execution criteria that is as simple or as complex as Ant scripting permits.
The last main script component in this package is the StopTask. This task is basically an extension of the standard Ant <fail> task with support for resource-based messages and custom script exceptions.