com.atlassian.confluence.event.events.admin
Class GlobalSettingsChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.admin.ConfigurationEvent
com.atlassian.confluence.event.events.admin.GlobalSettingsChangedEvent
- All Implemented Interfaces:
- ClusterEvent, java.io.Serializable
public class GlobalSettingsChangedEvent
- extends ConfigurationEvent
- implements ClusterEvent
Event announcing a change in the global configuration of Confluence.
Notes for implementors:
- This event may be published even when no change has been made to the settings. Always check the 'before'
and 'after' snapshots to make sure that the setting you're monitoring has in fact changed.
- Due to potential race conditions, the 'newSettings' value may not represent the current settings of
Confluence - just the ones that are in place after this particular event. If you're ever in doubt, get
the settingsManager yourself, and check.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GlobalSettingsChangedEvent
public GlobalSettingsChangedEvent(java.lang.Object src,
Settings oldSettings,
Settings newSettings,
java.lang.String oldDomainName,
java.lang.String newDomainName)
GlobalSettingsChangedEvent
public GlobalSettingsChangedEvent(java.lang.Object src,
Settings oldSettings,
Settings newSettings)
getOldSettings
public Settings getOldSettings()
getNewSettings
public Settings getNewSettings()
getOldDomainName
public java.lang.String getOldDomainName()
getNewDomainName
public java.lang.String getNewDomainName()
Copyright © 2003-2013 Atlassian. All Rights Reserved.