Package hudson

Class LocalPluginManager

    • Constructor Detail

      • LocalPluginManager

        public LocalPluginManager​(@CheckForNull
                                  javax.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

        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.