public class DataManagerEvent extends AbstractEventData
Constructor and Description |
---|
DataManagerEvent(java.lang.Object source,
DataNode dataNode)
Creates an event with the given node
|
DataManagerEvent(java.lang.Object source,
DataNode dataNode,
java.lang.Throwable throwable)
Creates an event with the given node, message, and throwable
|
Modifier and Type | Method and Description |
---|---|
DataNode |
getDataNode()
Retrieve the DataNode associated with the DataManagerEvent
|
DataManagerEventSource.EventFireTime |
getFireTime()
Returns the FireTime for the object
|
java.lang.Throwable |
getThrowable()
Returns a throwable related to the event, or null if no throwable was associated with the current event
|
void |
setFireTime(DataManagerEventSource.EventFireTime fireTime)
Sets the FireTime for the object
|
getLastReturnValue, setLastReturnValue
public DataManagerEvent(@NotNull java.lang.Object source, @NotNull DataNode dataNode)
source
- The source that generated the eventdataNode
- The node related to the eventpublic DataManagerEvent(@NotNull java.lang.Object source, @NotNull DataNode dataNode, @Nullable java.lang.Throwable throwable)
source
- The source that generated the eventdataNode
- The node related to the eventthrowable
- The throwable the generated the event@Nullable public DataManagerEventSource.EventFireTime getFireTime()
public void setFireTime(@Nullable DataManagerEventSource.EventFireTime fireTime)
fireTime
- The new value for FireTime@NotNull public DataNode getDataNode()
@Nullable public java.lang.Throwable getThrowable()