public class

GlobalSettingsChangedEvent

extends ConfigurationEvent
implements ClusterEvent
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

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
GlobalSettingsChangedEvent(Object src, Settings oldSettings, Settings newSettings, String oldDomainName, String newDomainName)
GlobalSettingsChangedEvent(Object src, Settings oldSettings, Settings newSettings)
Public Methods
String getNewDomainName()
Settings getNewSettings()
String getOldDomainName()
Settings getOldSettings()
[Expand]
Inherited Methods
From class com.atlassian.event.Event
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public GlobalSettingsChangedEvent (Object src, Settings oldSettings, Settings newSettings, String oldDomainName, String newDomainName)

public GlobalSettingsChangedEvent (Object src, Settings oldSettings, Settings newSettings)

Public Methods

public String getNewDomainName ()

public Settings getNewSettings ()

public String getOldDomainName ()

public Settings getOldSettings ()