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
Nested Classes -
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionLocationEvent(@NotNull Object source, @NotNull LocationEvent.LocationEventType type) Create a new LocationEvent. -
Method Summary
Modifier and TypeMethodDescriptionprivate static ObjectassertThis(Object source, LocationEvent.LocationEventType type) static LocationEventboot()getType()static LocationEventof(Object obj, LocationEvent.LocationEventType type) Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods 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
-