public abstract class AbstractEvent
extends ApplicationEvent
| Constructor and Description |
|---|
AbstractEvent() |
AbstractEvent(Serializable source) |
| Modifier and Type | Method and Description |
|---|---|
EventScope |
getScope() |
Object |
getSource() |
boolean |
isFromCluster() |
void |
setFromCluster(boolean fromCluster)
If the Event is send by a cluster system (tcp message or udp packet is a hint) this method sets the internal
variable to true.
|
void |
setScope(EventScope scope)
Sets the
EventScope for this event. |
String |
toString() |
public AbstractEvent()
public AbstractEvent(Serializable source)
public Object getSource()
public EventScope getScope()
EventScope of this eventpublic void setScope(EventScope scope)
EventScope for this event.scope - the EventScope to be setpublic String toString()
public boolean isFromCluster()
public void setFromCluster(boolean fromCluster)
fromCluster - default value is false, event is not from a cluster systemCopyright © 2017 SAP SE. All Rights Reserved.