Class RosterFilePluginLoader

java.lang.Object
com.atlassian.plugin.loaders.ScanningPluginLoader
com.atlassian.plugin.loaders.RosterFilePluginLoader
All Implemented Interfaces:
DiscardablePluginLoader, DynamicPluginLoader, PluginLoader

public class RosterFilePluginLoader extends ScanningPluginLoader
A PluginLoader which manages plugins specified by a roster file.
Since:
v3.0.24
See Also:
  • Constructor Details

    • RosterFilePluginLoader

      public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginEventManager pluginEventManager)
      Create a RosterFilePluginLoader which loads a given roster file to locate plugins.
      Parameters:
      rosterFile - the file to load the plugin roster from, as per RosterFileScanner.
      pluginFactories - the factories used to convert PluginArtifacts to Plugins.
      pluginEventManager - the event manager for the plugin system.
    • RosterFilePluginLoader

      public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, ReferenceMode referenceMode, PluginEventManager pluginEventManager)
      Create a RosterFilePluginLoader which loads a given roster file to locate plugins.
      Parameters:
      rosterFile - the file to load the plugin roster from, as per RosterFileScanner.
      pluginFactories - the factories used to convert PluginArtifacts to Plugins.
      referenceMode - the ReferenceMode to use for the implicit DefaultPluginArtifactFactory.
      pluginEventManager - the event manager for the plugin system.
    • RosterFilePluginLoader

      public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginArtifactFactory pluginArtifactFactory, PluginEventManager pluginEventManager)
      Create a RosterFilePluginLoader which loads a given roster file to locate plugins.
      Parameters:
      rosterFile - the file to load the plugin roster from, as per RosterFileScanner.
      pluginFactories - the factories used to convert PluginArtifacts to Plugins.
      pluginArtifactFactory - the factory used to convert URIs to PluginArtifacts.
      pluginEventManager - the event manager for the plugin system.
  • Method Details

    • getReferenceModePropertyName

      public static String getReferenceModePropertyName()