Class FileSystemXmlPluginProvider

  • All Implemented Interfaces:
    org.pentaho.platform.api.engine.IPluginProvider

    public class FileSystemXmlPluginProvider
    extends SystemPathXmlPluginProvider
    A plugin provider that does not rely on an the repository being configured
    Author:
    jamesdixon
    • Constructor Detail

      • FileSystemXmlPluginProvider

        public FileSystemXmlPluginProvider()
    • Method Detail

      • getPlugins

        public List<org.pentaho.platform.api.engine.IPlatformPlugin> getPlugins​(org.pentaho.platform.api.engine.IPentahoSession session)
                                                                         throws org.pentaho.platform.api.engine.PlatformPluginRegistrationException
        Description copied from class: SystemPathXmlPluginProvider
        Gets the list of plugins that this provider class has discovered.
        Specified by:
        getPlugins in interface org.pentaho.platform.api.engine.IPluginProvider
        Overrides:
        getPlugins in class SystemPathXmlPluginProvider
        Returns:
        an read-only list of plugins
        Throws:
        org.pentaho.platform.api.engine.PlatformPluginRegistrationException - if there is a problem preventing the impl from looking for plugins
        See Also:
        IPluginProvider#getPlugins()
      • processDirectory

        protected void processDirectory​(List<org.pentaho.platform.api.engine.IPlatformPlugin> plugins,
                                        File folder,
                                        org.pentaho.platform.api.engine.IPentahoSession session)
                                 throws org.pentaho.platform.api.engine.PlatformPluginRegistrationException
        Overrides:
        processDirectory in class SystemPathXmlPluginProvider
        Throws:
        org.pentaho.platform.api.engine.PlatformPluginRegistrationException