Hi,
I am currently extending QueueTaskDispatcher and customizing the canRun method, and it works fine.
I'd like to also control the Result of the Run originated from my Queue.Item that was under evaluation. Currently I am only able to achieve that with a custom Builder step.
When researching, it sounded like I could achieve this without the Builder step, by grabbing a Future using item.getFuture().
But all my attempts to customize the behavior of the Executable's run() method returned when the Future resolves has failed.
I've created a CustomBuild class that extends from Build, overwrote the run() method, and also overwrote the BuildExecution's doRun() to achieve what I need.
But then I am not able to instantiate it using : QueueTaskFuture<CustomBuild> future = item.getFuture().
Eclipse only let's me do QueueTaskFuture<Executable> future = item.getFuture(), so not sure how can I tell that executable to evaluate to my CustomBuild.
Thanks