org.obe.spi.event
Class PackageEvent
java.lang.Object
java.util.EventObject
org.obe.spi.event.ApplicationEvent
org.obe.spi.event.WorkflowEvent
org.obe.spi.event.PackageEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class PackageEvent
- extends WorkflowEvent
Delivers package event notifications.
- Author:
- Adrian Price
- See Also:
- Serialized Form
|
Field Summary |
static int |
CREATED
The package was created. |
static int |
DELETED
The package was removed. |
static int |
UPDATED
The package was updated. |
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class org.obe.spi.event.ApplicationEvent |
getAction, getApplication, getContentType, getEventType, getExpiry, getKeys, getProperties, getProperty, getSchema, setApplication, setEventType, setExpiry, setKeys |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CREATED
public static final int CREATED
- The package was created.
- See Also:
- Constant Field Values
DELETED
public static final int DELETED
- The package was removed.
- See Also:
- Constant Field Values
UPDATED
public static final int UPDATED
- The package was updated.
- See Also:
- Constant Field Values
PackageEvent
public PackageEvent(XPDLPackage src,
int id,
WorkflowEventBroker broker)
- Constructs a new package event.
- Parameters:
src - id - broker -
getPackage
public XPDLPackage getPackage()
- Returns the source package.
- Returns:
- The package that fired the event.
getWMAEventCode
public WMAEventCode getWMAEventCode()
- Description copied from class:
WorkflowEvent
- Returns the WfMC Interface 5 audit event code (if defined).
- Specified by:
getWMAEventCode in class WorkflowEvent
- Returns:
- Audit event code.
toString
public java.lang.String toString()
- Overrides:
toString in class ApplicationEvent
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.