net.sf.jame.service.spool
Class JobEvent

java.lang.Object
  extended by net.sf.jame.service.spool.JobEvent
All Implemented Interfaces:
java.io.Serializable

public class JobEvent
extends java.lang.Object
implements java.io.Serializable

Author:
Andrea Medeghini
See Also:
Serialized Form

Field Summary
static int EVENT_TYPE_BEGIN
           
static int EVENT_TYPE_DONE
           
static int EVENT_TYPE_END
           
static int EVENT_TYPE_FRAME
           
 
Constructor Summary
JobEvent(int eventType, java.io.Serializable eventData)
           
 
Method Summary
static java.lang.String decodeEventType(int eventType)
           
 java.io.Serializable getEventData()
           
 int getEventType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_TYPE_FRAME

public static final int EVENT_TYPE_FRAME
See Also:
Constant Field Values

EVENT_TYPE_BEGIN

public static final int EVENT_TYPE_BEGIN
See Also:
Constant Field Values

EVENT_TYPE_END

public static final int EVENT_TYPE_END
See Also:
Constant Field Values

EVENT_TYPE_DONE

public static final int EVENT_TYPE_DONE
See Also:
Constant Field Values
Constructor Detail

JobEvent

public JobEvent(int eventType,
                java.io.Serializable eventData)
Parameters:
eventType -
eventData -
Method Detail

getEventType

public int getEventType()
Returns:
the eventType

getEventData

public java.io.Serializable getEventData()
Returns:
the eventData

decodeEventType

public static final java.lang.String decodeEventType(int eventType)
Parameters:
eventType -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()