Bug 305064 - [api] Add a progress monitor to the execute batch method
Summary: [api] Add a progress monitor to the execute batch method
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Ian Bull CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-03-08 16:24 EST by Ian Bull CLA
Modified: 2010-03-09 15:34 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Bull CLA 2010-03-08 16:24:28 EST
The execute batch method on the artifact repository (and metadata repository bug 301902) should take a progress monitor.
Comment 1 Ian Bull CLA 2010-03-08 23:56:42 EST
I've released the API change to the execute batch so it now takes a progress monitor and an IRunnableWithProgress.  We need to change the implementation of simple artifact repo to catch the operation cancel exception and return the right status.
Comment 2 Ian Bull CLA 2010-03-09 15:34:29 EST
I have added an IRunnableWithProgress that can be used to track progress during a execute batch job.  I have also added a progress monitor parameter to the execute batch job. The progress monitor gets passed to the IRunnableWithProgress.