Package org.openwms.tms
Class TransportServiceEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openwms.tms.TransportServiceEvent
- All Implemented Interfaces:
Serializable
public final class TransportServiceEvent
extends org.springframework.context.ApplicationEvent
implements Serializable
A TransportServiceEvent.
- Author:
- Tina Russell
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
All possible types of this event. -
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTransportServiceEvent
(TransportOrder source) Create a new RootApplicationEvent.TransportServiceEvent
(TransportOrder source, TransportServiceEvent.TYPE type) Create a new TransportServiceEvent. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
type
-
-
Constructor Details
-
TransportServiceEvent
Create a new RootApplicationEvent.- Parameters:
source
- Event source
-
TransportServiceEvent
Create a new TransportServiceEvent.- Parameters:
source
- Event sourcetype
- Event type
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getType
Return the type of event.- Returns:
- The event type
-