Package hudson

Class LocalPluginManager

All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, OnMaster, org.kohsuke.stapler.StaplerOverridable, org.kohsuke.stapler.StaplerProxy

public class LocalPluginManager extends PluginManager
Default implementation of PluginManager.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • LocalPluginManager

      public LocalPluginManager(@CheckForNull jakarta.servlet.ServletContext context, @NonNull File rootDir)
      Creates a new LocalPluginManager
      Parameters:
      context - Servlet context. Provided for compatibility as Jenkins.get().servletContext should be used.
      rootDir - Jenkins home directory.
    • LocalPluginManager

      @Deprecated public LocalPluginManager(@CheckForNull javax.servlet.ServletContext context, @NonNull File rootDir)
    • LocalPluginManager

      public LocalPluginManager(@NonNull Jenkins jenkins)
      Creates a new LocalPluginManager
      Parameters:
      jenkins - Jenkins instance that will use the plugin manager.
    • LocalPluginManager

      public LocalPluginManager(@NonNull File rootDir)
      Creates a new LocalPluginManager
      Parameters:
      rootDir - Jenkins home directory.
  • Method Details