public class JobEvent extends EventObject
source| Constructor and Description |
|---|
JobEvent(IJob job,
IConsole console,
IProgressMonitor progressMonitor)
Constructs a new job event object that contains additional information.
|
| Modifier and Type | Method and Description |
|---|---|
IConsole |
getConsole()
method returns the Console belonging to the job underlying this event.
|
IJob |
getJob()
Returns the job that has fired the event.
|
IProgressMonitor |
getProgressMonitor()
method returns the ProgressMonitor that displays the progress of the job
underlying this event.
|
Date |
getTimestamp()
Returns a time stamp showing when the event was fired.
|
getSource, toStringpublic JobEvent(IJob job, IConsole console, IProgressMonitor progressMonitor)
job - the job that has sent the eventconsole - the console that belongs to the underlying job - might be null
if needConsole() from job returns falseprogressMonitor - the progressMonitor belonging to the underlying jobpublic IProgressMonitor getProgressMonitor()
public IConsole getConsole()
public Date getTimestamp()
public IJob getJob()