org.eclipse.mylar.internal.tasks.ui
Class ScheduledTaskListSynchJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.mylar.internal.tasks.ui.ScheduledTaskListSynchJob
- All Implemented Interfaces:
- java.lang.Comparable, org.eclipse.core.runtime.IAdaptable
public class ScheduledTaskListSynchJob
- extends org.eclipse.core.runtime.jobs.Job
- Author:
- Rob Elves
Fields inherited from class org.eclipse.core.runtime.jobs.Job |
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
manager |
Methods inherited from class org.eclipse.core.runtime.jobs.Job |
addJobChangeListener, belongsTo, cancel, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp |
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
compareTo, toString |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
UPDATE_ATTRIBUTES_FREQUENCY
private static final int UPDATE_ATTRIBUTES_FREQUENCY
- See Also:
- Constant Field Values
LABEL_TASK
private static final java.lang.String LABEL_TASK
- See Also:
- Constant Field Values
JOB_NAME
private static final java.lang.String JOB_NAME
- See Also:
- Constant Field Values
scheduleDelay
private long scheduleDelay
taskList
private TaskList taskList
count
private static long count
taskListManager
private TaskListManager taskListManager
repositories
private java.util.List<TaskRepository> repositories
ScheduledTaskListSynchJob
public ScheduledTaskListSynchJob(long schedule,
TaskListManager taskListManager)
ScheduledTaskListSynchJob
public ScheduledTaskListSynchJob(TaskListManager taskListManager)
run
public org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
run
in class org.eclipse.core.runtime.jobs.Job
setSchedule
public void setSchedule(long schedule)
setRepositories
public void setRepositories(java.util.List<TaskRepository> repositories)
getCount
public static long getCount()
- for testing purposes
resetCount
public static void resetCount()
- for testing
getScheduleDelay
public long getScheduleDelay()