@Deprecated public class PluginResourceLocatorImpl extends Object implements PluginResourceLocator
PluginResourceLocator.| Constructor and Description |
|---|
PluginResourceLocatorImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Config config)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
ResourceCompiler resourceCompiler)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
ResourceBatchingConfiguration batchingConfiguration,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
ResourceBatchingConfiguration batchingConfiguration,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
ResourceCompiler resourceCompiler)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
ResourceBatchingConfiguration batchingConfiguration,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
StaticTransformers staticTransformers)
Deprecated.
|
PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
WebResourceUrlProvider webResourceUrlProvider,
ResourceBatchingConfiguration batchingConfiguration,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
StaticTransformers staticTransformers,
ResourceCompiler resourceCompiler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.plugin.servlet.DownloadableResource |
getDownloadableResource(String url,
Map<String,String> queryParams)
Deprecated.
This method should be deleted when Confluence would be updated and stop using
PluginResourceLocator.getDownloadableResource
See https://ecosystem.atlassian.net/browse/PLUGWEB-193
Returns a
DownloadableResource represented by the given url and query params. |
protected void |
initialize(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Config config)
Deprecated.
|
boolean |
matches(String url)
Deprecated.
Returns true if this locator can parse the given url.
|
void |
onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
Deprecated.
|
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
Deprecated.
|
void |
onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
Deprecated.
|
void |
onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
Deprecated.
|
Globals |
temporaryWayToGetGlobalsDoNotUseIt()
Deprecated.
Temporary, would be removed in future, currently needed as a way to pass some variables into places where
they are needed.
|
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, com.atlassian.plugin.event.PluginEventManager pluginEventManager, ResourceCompiler resourceCompiler)
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, ResourceBatchingConfiguration batchingConfiguration, com.atlassian.plugin.event.PluginEventManager pluginEventManager, ResourceCompiler resourceCompiler)
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, ResourceBatchingConfiguration batchingConfiguration, com.atlassian.plugin.event.PluginEventManager pluginEventManager, StaticTransformers staticTransformers, ResourceCompiler resourceCompiler)
public PluginResourceLocatorImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Config config)
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, ResourceBatchingConfiguration batchingConfiguration, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
public PluginResourceLocatorImpl(WebResourceIntegration webResourceIntegration, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, WebResourceUrlProvider webResourceUrlProvider, ResourceBatchingConfiguration batchingConfiguration, com.atlassian.plugin.event.PluginEventManager pluginEventManager, StaticTransformers staticTransformers)
protected void initialize(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Config config)
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
public boolean matches(String url)
PluginResourceLocatormatches in interface PluginResourceLocatorpublic com.atlassian.plugin.servlet.DownloadableResource getDownloadableResource(String url, Map<String,String> queryParams)
PluginResourceLocatorDownloadableResource represented by the given url and query params.
PluginResourceLocator.matches(String) should be called before invoking this method. If the url is
not understood by the locator or the resource cannot be found, null will be returned.getDownloadableResource in interface PluginResourceLocatorpublic Globals temporaryWayToGetGlobalsDoNotUseIt()
PluginResourceLocatortemporaryWayToGetGlobalsDoNotUseIt in interface PluginResourceLocatorCopyright © 2017 Atlassian. All rights reserved.