App.initialize
App.onEnable
App
class has some methods that can be extended in order to provide some control over various aspects of the App's lifecycle.initialize
initialize
method allows the App to control its internal initialization process, overriding the default one.extendConfiguration
extendConfiguration
method is executed as part of the default initialization process of the App. It enables the App to provide robust functionalities such as API Endpoints or Slash Commands using the configuration accessor.onEnable
false
, the Apps-Engine halts the enabling process and unloads the App's resources configured during initialization.onDisable
onEnable
method is executed during the disabling process of the App. It doesn't allow the App to prevent the disabling from happening.onSettingUpdated
onSettingUpdated
method is executed after a setting provided by the App is updated by an admin in the App Administration Page. See Settings (coming soon) for more information on how to manage App settings.