Community
Participate
Working Groups
Currently when an error occurs during synchronization only a single status can be propagated.
Rob, do you have any suggestions how to design this API?
What if the collector passed into the getMultiTaskData was modified to take a status (in addition to task data) that in turn gets set on the associated task?
How would you imagine that to work in case retrieval of a task fails? Would the connector return an empty TaskData object with along with an error status?
I like the idea of using the TaskDataCollector. We could add something like this: public void failed(String taskId, IStatus status) { }
Yeah, after posting I was thinking that passing an empty taskdata didn't make much sense. I like your failed(..) method approach better.
Good. The only thing that we could improve upon is the name but I can't think of anything better than failed() at the moment . Do you want to go ahead and make the changes along with fixes for bug 268465?
+1 Looks good!
Committed.