Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » Jobs API in a headless environment(Looking for guidance on how to show progress)
Jobs API in a headless environment [message #786859] Mon, 30 January 2012 22:22
Terran Gilman is currently offline Terran GilmanFriend
Messages: 67
Registered: July 2009
Member
I am using the jobs API to manage some long running tasks within a headless server. There is a UI component exposed via html. I'd like to be able to gather progress information from jobs and present it.

The API passes a progress monitor to the job during the run method. I'm having difficulty figuring out how to properly gain access to this monitor. I looked at ProgressGroup, but I'm not sure if it's appropriate to use for single jobs.

I also saw the ProgressProvider class. I couldn't trace out what external component sets the provider into the JobManager. If a provider isn't set if running headless, can I implement my own provider to satisfy my requirements?
Previous Topic:Error runing
Next Topic:Eclipse Run encoding
Goto Forum:
  


Current Time: Thu Apr 25 07:14:08 GMT 2024

Powered by FUDForum. Page generated in 0.02672 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top