Interface IWebServerTypesRegistry


  • public interface IWebServerTypesRegistry
    Registry for web server types and web server categories. Web server types are defined by extensions. A web server types and web server categories extensions are defined in plugin.xml. (see example).
    See Also:
    IWebServerCategory, IWebServerType
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • getWebServerType

        IWebServerType getWebServerType​(String id)
        Returns the web server type extension with the specified id, or null if it does not exist.
        Parameters:
        id - unique identifier for a web server type extension, cannot be null
        Returns:
        the web server type extension with the specified id, or null if it does not exist
      • getWebServerType

        IWebServerType getWebServerType​(String categoryId,
                                        String version)
        Returns the web server type extension with the specified category id and version, or null if it does not exist.
        Parameters:
        categoryId - unique category identifier for a web server type extension, cannot be null
        version - web server type version for a web server type extension, cannot be null
        Returns:
        the web server type extension with the specified id, or null if it does not exist
      • getWebServerCategory

        IWebServerCategory getWebServerCategory​(String id)
        Returns the web server category extension with the specified id, or null if it does not exist.
        Parameters:
        id - unique identifier for a web server category extension, cannot be null
        Returns:
        the web server category extension with the specified id, or null if it does not exist
      • getWebServerCategories

        Collection<IWebServerCategory> getWebServerCategories()
        Returns all defined web server category extensions.
        Returned collection is unmodifiable.
        Returns:
        collection of all defined web server category extensions, never null
      • getWebServerTypes

        Collection<IWebServerType> getWebServerTypes()
        Returns all defined web server type extensions.
        Returned collection is unmodifiable.
        Returns:
        collection of all defined web server type extensions, never null
      • getWebServerTypes

        Collection<IWebServerType> getWebServerTypes​(String categoryId)
        Returns all defined web server type extensions for given category id.
        Returned collection is unmodifiable.
        Returns:
        collection of all defined web server type extensions for given category id, never null