net.sourceforge.java.feednread.backend.jobs
Class NewsFeedUpdateManagerJob
java.lang.Object
net.sourceforge.java.util.jobs.Job
net.sourceforge.java.feednread.backend.jobs.NewsFeedUpdateManagerJob
- All Implemented Interfaces:
- IJob, IRunnableWithProgress
- public class NewsFeedUpdateManagerJob
- extends Job
Coordinates the well-regulated update of a Favorite bundle,
e.g. a parent Category.
- Author:
- Sebastian Machhausen
| Fields inherited from class net.sourceforge.java.util.jobs.Job |
|
| Methods inherited from class net.sourceforge.java.util.jobs.Job |
cancel, done, getException, getJobManager, getName, getPriority, getStatus, getThread, isCanceled, join, setException, setJobManager, setName, setPriority, setThread, start, started, statusChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mainWindow
private MainApplicationWindow mainWindow
newsFeedFavorites
private Favorite[] newsFeedFavorites
NewsFeedUpdateManagerJob
public NewsFeedUpdateManagerJob(MainApplicationWindow mainWindow,
Favorite[] newsFeedFavorites)
Creates a new NewsFeedUpdateManagerJob which coordinates
the update of the specified Favoritess.
- Parameters:
mainWindow - the Feed'n Read main windownewsFeedFavorites - the Favorites to update
run
public void run(IProgressMonitor monitor)
throws InvocationTargetException,
InterruptedException
Activates the update process.
- Parameters:
monitor - the IProgressMonitor to use for reporting
the progress of this NewsFeedUpdateManagerJob
- Throws:
InvocationTargetException
InterruptedException- See Also:
IRunnableWithProgress.run(org.eclipse.core.runtime.IProgressMonitor)