public class SuccessEvent
extends java.util.EventObject
Constructor and Description |
---|
SuccessEvent(java.lang.Object source)
Constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getPayloadElement(java.lang.String key)
Get a payload element
|
<T> void |
setPayloadElement(java.lang.String key,
T value)
Set a payload element
|
public SuccessEvent(java.lang.Object source)
source
- the source KF step generating this eventpublic <T> void setPayloadElement(java.lang.String key, T value)
key
- the key for the elementvalue
- the value of the elementpublic <T> T getPayloadElement(java.lang.String key)
key
- the key of the element to get