com.atlassian.confluence.themes.events
Class ThemeChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.themes.events.LookAndFeelEvent
com.atlassian.confluence.themes.events.ThemeChangedEvent
- All Implemented Interfaces:
- Updated, Serializable
public class ThemeChangedEvent
- extends LookAndFeelEvent
- implements Updated
Fired when a new theme is selected, either globally or for an individual space.
- See Also:
- Serialized Form
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
ThemeChangedEvent
public ThemeChangedEvent(Object src,
String spaceKey,
String oldThemeKey,
String newThemeKey)
getOldThemeKey
public String getOldThemeKey()
- Get the theme that is being changed from.
- Returns:
- the plugin module key of the theme that is being changed from, or null if the previous
theme was the default
getNewThemeKey
public String getNewThemeKey()
- Get the theme that is being changed to.
- Returns:
- the plugin module key of the theme that is being changed to, or null if the new
theme is the default
equals
public boolean equals(Object o)
- Overrides:
equals
in class LookAndFeelEvent
hashCode
public int hashCode()
- Overrides:
hashCode
in class LookAndFeelEvent