Re: User implementations of custom interfaces can have access to Task instance?

2018-03-19 Thread Stefan Bodewig
On 2018-03-17, Jaikiran Pai wrote: > Thanks for the input, Stefan. I took your suggestion and exposed a API > to get the Project on that custom interface. It doesn't/can't directly > use the IntrospectionHelper support available to project components, > since unlike nested elements of a task,

Re: User implementations of custom interfaces can have access to Task instance?

2018-03-17 Thread Jaikiran Pai
Thanks for the input, Stefan. I took your suggestion and exposed a API to get the Project on that custom interface. It doesn't/can't directly use the IntrospectionHelper support available to project components, since unlike nested elements of a task, this custom class can be plugged in

Re: User implementations of custom interfaces can have access to Task instance?

2018-03-13 Thread Stefan Bodewig
On 2018-03-13, Jaikiran Pai wrote: > I'm looking for some suggestion on whether it's a good/bad idea to > expose a method to custom user defined classes which takes a "Task" > object. This is in context of the JUnitLauncher task that I recently > added. It allows custom report

User implementations of custom interfaces can have access to Task instance?

2018-03-13 Thread Jaikiran Pai
I'm looking for some suggestion on whether it's a good/bad idea to expose a method to custom user defined classes which takes a "Task" object. This is in context of the JUnitLauncher task that I recently added. It allows custom report formatters/listeners to be implemented and the expectation