public class PluginState extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
PluginState(com.atlassian.event.api.EventPublisher eventPublisher,
LandlordRequests landlordRequests) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
onPluginEnabledEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event)
Listens for PluginEnabledEvent and sets pluginSystemReady to true if the host application is tenanted.
|
void |
onPluginFrameworkDelayed(com.atlassian.plugin.event.events.PluginFrameworkDelayedEvent event)
Listens for a PluginFrameworkDelayedEvent - this is fired by the plugin system when earlyStartup
has completed.
|
boolean |
pluginSystemReady() |
public PluginState(com.atlassian.event.api.EventPublisher eventPublisher,
LandlordRequests landlordRequests)
@EventListener public void onPluginFrameworkDelayed(com.atlassian.plugin.event.events.PluginFrameworkDelayedEvent event)
event - The PluginFrameworkDelayedEvent sent by the plugin system@EventListener public void onPluginEnabledEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event)
event - The PluginEnabledEvent sent by plugin systempublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic boolean pluginSystemReady()
Copyright © 2022 Atlassian. All rights reserved.