How to set upToDateWhen in task definition?

(wvxvw) #1

I’m writing a task like so:

class NewTask extends ExistingTask {
// implement up-to-date check here

What methods of a task do I have to override / add / call in order to make this happen? Again, there’s nothing in the documentation that would help finding this information.

(Stefan Oehme) #2

The constructor is the right place for setup like that.