Class PluginRegistry

    • Constructor Detail

      • PluginRegistry

        public PluginRegistry()
    • Method Detail

      • addPlugin

        public void addPlugin​(Plugin plugin)
        Method addPlugin.
        Parameters:
        plugin -
      • getAutoUpdate

        public String getAutoUpdate()
        Get specifies whether the user should be prompted to update plugins.
        Returns:
        String
      • getCheckLatest

        public String getCheckLatest()
        Get whether to resolve plugin versions using LATEST metadata.
        Returns:
        String
      • getModelEncoding

        public String getModelEncoding()
        Get the modelEncoding field.
        Returns:
        String
      • getPlugins

        public List<Plugin> getPlugins()
        Method getPlugins.
        Returns:
        List
      • getUpdateInterval

        public String getUpdateInterval()
        Get specifies how often to check for plugin updates. Valid values are: never, always, interval:XXX. For the interval specification, XXX denotes a terse interval specification, such as 4h. Where h=hours, m=minutes, d=days, w=weeks. The interval period should be specified in descending order of granularity, like this: '[n]w [n]d [n]h [n]m'. Any omitted level of granularity will be assumed to be a zero value.
        Returns:
        String
      • removePlugin

        public void removePlugin​(Plugin plugin)
        Method removePlugin.
        Parameters:
        plugin -
      • setAutoUpdate

        public void setAutoUpdate​(String autoUpdate)
        Set specifies whether the user should be prompted to update plugins.
        Parameters:
        autoUpdate -
      • setCheckLatest

        public void setCheckLatest​(String checkLatest)
        Set whether to resolve plugin versions using LATEST metadata.
        Parameters:
        checkLatest -
      • setModelEncoding

        public void setModelEncoding​(String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding -
      • setPlugins

        public void setPlugins​(List<Plugin> plugins)
        Set specified plugin update policy information.
        Parameters:
        plugins -
      • setUpdateInterval

        public void setUpdateInterval​(String updateInterval)
        Set specifies how often to check for plugin updates. Valid values are: never, always, interval:XXX. For the interval specification, XXX denotes a terse interval specification, such as 4h. Where h=hours, m=minutes, d=days, w=weeks. The interval period should be specified in descending order of granularity, like this: '[n]w [n]d [n]h [n]m'. Any omitted level of granularity will be assumed to be a zero value.
        Parameters:
        updateInterval -
      • getPluginsByKey

        public Map getPluginsByKey()
      • flushPluginsByKey

        public void flushPluginsByKey()
      • setRuntimeInfo

        public void setRuntimeInfo​(RuntimeInfo runtimeInfo)