Class PluginStatusWrmDataProvider

  • All Implemented Interfaces:
    com.atlassian.webresource.api.data.WebResourceDataProvider, com.google.common.base.Supplier<com.atlassian.json.marshal.Jsonable>, Supplier<com.atlassian.json.marshal.Jsonable>

    public class PluginStatusWrmDataProvider
    extends Object
    implements com.atlassian.webresource.api.data.WebResourceDataProvider
    Provides the PULP with WRM data about the status of user-installed plugins. If there are no user-installed plugins, it returns an empty JSON object.
    Since:
    6.16
    • Constructor Detail

      • PluginStatusWrmDataProvider

        @Inject
        public PluginStatusWrmDataProvider​(com.atlassian.plugin.PluginAccessor pluginAccessor,
                                           com.atlassian.plugin.StoredPluginStateAccessor storedPluginStateAccessor,
                                           IsUserInstalledPlugin isUserInstalledPlugin,
                                           com.atlassian.plugin.manager.SafeModeManager safeModeManager)
    • Method Detail

      • get

        public @NonNull com.atlassian.json.marshal.Jsonable get()
        Specified by:
        get in interface com.google.common.base.Supplier<com.atlassian.json.marshal.Jsonable>
        Specified by:
        get in interface Supplier<com.atlassian.json.marshal.Jsonable>