net.sourceforge.java.util.jobs.event
Class JobEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.sourceforge.java.util.jobs.event.JobEvent
All Implemented Interfaces:
Serializable

public class JobEvent
extends EventObject

Event triggered whenever the status of an IJob executed in the JobManager context changes.

Author:
Sebastian Machhausen
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           The serial uid of this class
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JobEvent(IJob job)
           Creates a new JobEvent.
 
Method Summary
 IJob getJob()
           Gets the IJob that triggered this JobEvent.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID

The serial uid of this class

See Also:
Constant Field Values
Constructor Detail

JobEvent

public JobEvent(IJob job)

Creates a new JobEvent.

Parameters:
job - the IJob that acts as source of the JobEvent
Method Detail

getJob

public IJob getJob()

Gets the IJob that triggered this JobEvent.

Returns:
the IJob that triggered this JobEvent