Class CollaborativeEditingModeChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.plugins.synchrony.api.events.CollaborativeEditingModeChangeEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CollaborativeEditingOffEvent
,CollaborativeEditingOnEvent
public abstract class CollaborativeEditingModeChangeEvent extends ConfluenceEvent
Superclass for analytics events to record a Synchrony mode change- Since:
- 6.0.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
getModeDurationInSeconds()
abstract CollaborativeEditingMode
getNewMode()
CollaborativeEditingMode
getPreviousMode()
boolean
isSynchronyUp()
-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getPreviousMode
public CollaborativeEditingMode getPreviousMode()
-
getNewMode
public abstract CollaborativeEditingMode getNewMode()
-
isSynchronyUp
public boolean isSynchronyUp()
- Returns:
- Whether or not Synchrony was up and running at the time the mode change was initiated
-
getModeDurationInSeconds
public long getModeDurationInSeconds()
-
-