|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.rssowl.controller.statusline.LoadJob
Objects from this class represent a Job in RSSOwl, which is currently performed. This may be the loading, reloading or searching of a newsfeed. A job may either be created from an aggregation, or not.
Field Summary | |
private ExtendedThread |
aggregationThread
|
private boolean |
isFromAggregation
|
private ExtendedThread |
loadingThread
|
private int |
style
|
private String |
title
|
Constructor Summary | |
LoadJob(String identifier,
String title,
boolean isFromAggregation,
int style,
ExtendedThread loadingThread)
Instantiate a new LoadJob |
Method Summary | |
void |
cancelJob(boolean forceAggregationStop)
Cancel this job. |
int |
getStyle()
Get the style of this Job. |
String |
getTitle()
Get the title of the Job. |
boolean |
isFromAggregation()
If this job is from an aggregation, this Method returns TRUE |
void |
setAggregationThread(ExtendedThread aggregationThread)
Set the aggregation Thread to this Job, if it is from an aggregation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ExtendedThread aggregationThread
private boolean isFromAggregation
private ExtendedThread loadingThread
private int style
private String title
Constructor Detail |
public LoadJob(String identifier, String title, boolean isFromAggregation, int style, ExtendedThread loadingThread)
identifier
- The unique identifier (e.g. the URL of the feed)title
- The title of the job (e.g. the Title of the feed)isFromAggregation
- If TRUE the job is created from an aggregationstyle
- The style of the job (reload, load or search)loadingThread
- The thread that is running the jobMethod Detail |
public void cancelJob(boolean forceAggregationStop)
forceAggregationStop
- If TRUE, forces the Thread that is running the
aggregation to stop. This only works in case this job is part of an
aggregation.public int getStyle()
public String getTitle()
public boolean isFromAggregation()
public void setAggregationThread(ExtendedThread aggregationThread)
aggregationThread
- The aggregationThread to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |