brooklyncentral/brooklyn — pull request #118 by aledsage (2012-05-23 12:27:03+00:00)
Title: Refactors Task classes from groovy to java

Refactors BasicTask, CompoundTask, ParallelTask and SequentialTask.
Originally motivated by fixing generics in the groovy task code so easy
to use from Java. But good for these core concurrency-related classes to
be pure java.

But also fixes the (presumed) inefficiency and complexity in BasicTask
of taking a Callable, converting it to a closure, so it can be treated as a
Callable again.