Class TransformerCache

java.lang.Object
com.atlassian.plugin.webresource.transformer.TransformerCache

public class TransformerCache extends Object
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 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

      public Object getDescriptor(String transformerKey)