Class OperatingSystemChangedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.server.OperatingSystemChangedEvent
- All Implemented Interfaces:
Serializable
Event raised after migrating between major operating systems.
Note: This event is delivered synchronously while the system is still starting. Handlers should be as fast as possible to prevent excessive startup delays. If an app can lazily detect and recover from an operating system migration, it's encouraged to not handle this event, or to use this event only to trigger asynchronous processing to allow startup to continue.
- Since:
- 6.2
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionOperatingSystemChangedEvent
(Object source, OperatingSystem newValue, OperatingSystem oldValue) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
OperatingSystemChangedEvent
public OperatingSystemChangedEvent(@Nonnull Object source, @Nonnull OperatingSystem newValue, @Nonnull OperatingSystem oldValue)
-
-
Method Details
-
getNewValue
-
getOldValue
-