org.demac.process.base.event
Class ReceiveModificationEvent
java.lang.Object
org.demac.event.Event
org.demac.event.MulticastEvent
org.demac.process.core.event.ProcessEvent
org.demac.process.base.event.ReceiveModificationEvent
public class ReceiveModificationEvent
- extends ProcessEvent
An Event to send a modification of the control flow instead of a concrete service.
Dispatched by the Context Service to change the control flow of a process managed
by the Process Service.
Constructor Summary |
ReceiveModificationEvent(java.lang.String id,
java.lang.String activityId)
Constructor to create a new org.demac.process.base.event.ReceiveModificationEvent. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReceiveModificationEvent
public ReceiveModificationEvent(java.lang.String id,
java.lang.String activityId)
- Constructor to create a new org.demac.process.base.event.ReceiveModificationEvent.
- Parameters:
id
- the identifier of the org.demac.process.base.dpdl.ActivityRef. requesting the service.activityId
- the identifier of the new org.demac.process.base.dpdl.AcrtivityRef.
getEventHandle
public EventHandle getEventHandle()
- Description copied from class:
Event
- Method to get the type of the event.
- Specified by:
getEventHandle
in class ProcessEvent
- Returns:
- the type of this event
- See Also:
Event.getEventHandle()
getPayload
public java.lang.Object getPayload()
- Description copied from class:
Event
- Method to get the payload of the event.
- Specified by:
getPayload
in class ProcessEvent
- Returns:
- the payload of the event.
- See Also:
Event.getPayload()