Class ApacheWebServerLookup

    • Constructor Detail

      • ApacheWebServerLookup

        public ApacheWebServerLookup()
    • Method Detail

      • lookup

        public Collection<WebServer> lookup​(IWebServerTypesRegistry webServerTypesRegistry,
                                            IWebServerNameGenerator nameGenerator,
                                            Collection<String> existingNames)
                                     throws org.eclipse.core.runtime.CoreException
        Description copied from interface: IWebServerLookup
        Search for local installations of web servers. Method must return web server with type id, defined by extensions.
        IWebServerTypesRegistry can be used to get registered types and categories by versions.
        IWebServerNameGenerator can be used to generate unique name for found web servers.
        Parameters:
        webServerTypesRegistry - type registry of registered web server types, cannot be null
        nameGenerator - name generator for found web servers, cannot be null
        existingNames - collection of already existing web servers names, delegate cannot create web server with any of these names, cannot be null
        Returns:
        collection of found web servers, never null
        Throws:
        org.eclipse.core.runtime.CoreException - if search fails