Package org.apache.solr.api
Class NodeConfigClusterPluginsSource
java.lang.Object
org.apache.solr.api.NodeConfigClusterPluginsSource
- All Implemented Interfaces:
ClusterPluginsSource
Plugin configurations that are defined in solr.xml. This supports immutable deployments, and the
/cluster/plugin Edit APIs are not available
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Edit Api for this plugin source, if it supports edit operationsGet the Read Api for this plugin sourcevoidThis method should never be invoked because the Edit Apis are not made available by the pluginplugins()Get a map of cluster plugin configurations from this source, where keys are plugin names and values arePluginMetaplugin metadata.
-
Constructor Details
-
NodeConfigClusterPluginsSource
-
-
Method Details
-
getReadApi
Description copied from interface:ClusterPluginsSourceGet the Read Api for this plugin source- Specified by:
getReadApiin interfaceClusterPluginsSource- Returns:
- A
ContainerPluginsApiRead Api for this plugin source
-
getEditApi
Description copied from interface:ClusterPluginsSourceGet the Edit Api for this plugin source, if it supports edit operations- Specified by:
getEditApiin interfaceClusterPluginsSource- Returns:
- A
ContainerPluginsApiEdit Api for this plugin source, or null if the plugin source does not support editing the plugin configs
-
plugins
Description copied from interface:ClusterPluginsSourceGet a map of cluster plugin configurations from this source, where keys are plugin names and values arePluginMetaplugin metadata.- Specified by:
pluginsin interfaceClusterPluginsSource- Returns:
- An immutable map of plugin configurations
- Throws:
IOException
-
persistPlugins
This method should never be invoked because the Edit Apis are not made available by the plugin- Specified by:
persistPluginsin interfaceClusterPluginsSource- Parameters:
modifier- A function providing the map of plugin configs to be persisted- Throws:
UnsupportedOperationException- always
-