Class LocationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openwms.core.event.RootApplicationEvent
org.openwms.common.location.api.events.LocationEvent
- All Implemented Interfaces:
Serializable
public class LocationEvent
extends org.openwms.core.event.RootApplicationEvent
implements Serializable
A LocationEvent.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLocationEvent
(@NotNull Object source, @NotNull LocationEvent.LocationEventType type) Create a new LocationEvent. -
Method Summary
Modifier and TypeMethodDescriptionprivate static Object
assertThis
(Object source, LocationEvent.LocationEventType type) static LocationEvent
boot()
getType()
static LocationEvent
of
(Object obj, LocationEvent.LocationEventType type) Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
type
-
-
Constructor Details
-
LocationEvent
@ConstructorProperties({"source","type"}) public LocationEvent(@NotNull @NotNull Object source, @NotNull @NotNull LocationEvent.LocationEventType type) Create a new LocationEvent.- Parameters:
source
- The event sendertype
- The event type
-
-
Method Details
-
assertThis
-
boot
-
getType
-
of
-