Nico Seessle <[EMAIL PROTECTED]> wrote:

> From: "Stefan Bodewig" <[EMAIL PROTECTED]>

>> If we wanted to allow for something like this, I'd probably see it
>> along the lines of

>> public abstract class EnvelopeTask extends Task {

>> and add a EnvelopeTaskHandler to ProjectHelper to support this.

> I'm not sure I understand this...

> ProjectHelper will only allow for createTask in subclasses of
> EnvelopeTask?

That's the idea, yes. I wouldn't want to have people accidently
enclose a task into mkdir for example. If you want a Task that can
hold other tasks (like a <while> task), say so by extending
EnvelopeTask.

And keep in mind, that I'm not really proposing to do something like
this, just lining out what *I* could live with.

Stefan

Reply via email to