com.ibm.notes.java.api.util
Class NotesJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
com.ibm.notes.java.api.util.NotesJob
- All Implemented Interfaces:
- Comparable, IAdaptable
Deprecated. Use NotesSessionJob
for better better security and memory handling
public abstract class NotesJob
- extends Job
Instances of this class allow for executing code on a Notes thread.
Clients must subclass implement the runInNotesThread method.
Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
manager |
Constructor Summary |
NotesJob(String name)
Deprecated. The Constructor. |
Methods inherited from class org.eclipse.core.runtime.jobs.Job |
addJobChangeListener, belongsTo, cancel, canceling, 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 |
NotesJob
public NotesJob(String name)
- Deprecated.
- The Constructor.
- Parameters:
name
- name of the job- Since:
- 1.5.1
run
protected final IStatus run(IProgressMonitor monitor)
- Deprecated.
- Specified by:
run
in class Job
runInNotesThread
protected abstract IStatus runInNotesThread(IProgressMonitor monitor)
throws NotesException
- Deprecated.
- Clients must implement this method with code that is executed on
the Notes thread.
- Parameters:
monitor
- the progress monitor used for this job
- Returns:
- the status of the job
- Throws:
NotesException
- thrown when an error occurs during the operation- Since:
- 1.5.1