Class TransformerCache
java.lang.Object
com.atlassian.plugin.webresource.transformer.TransformerCache
Contains Transformer Descriptors grouped by its keys. There are two groups of Transformer Descriptors - modern ones
with UrlReading and deprecated without it.
Deprecated transformer should be used only if there's no modern one with the same key.
- Since:
- 3.1.7
-
Constructor Summary
ConstructorsConstructorDescriptionTransformerCache(com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptor(String transformerKey) voidonPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) voidonPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) voidonPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) voidonPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
-
Constructor Details
-
TransformerCache
public TransformerCache(com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
onPluginDisabled
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) -
onPluginEnabled
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) -
onPluginModuleEnabled
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event) -
onPluginModuleDisabled
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) -
getDescriptor
-