Interface ConfigEditablePlugin

All Known Implementing Classes:
BasicAuthPlugin, ExternalRoleRuleBasedAuthorizationPlugin, MultiAuthPlugin, MultiAuthRuleBasedAuthorizationPlugin, RuleBasedAuthorizationPlugin, RuleBasedAuthorizationPluginBase, Sha256AuthenticationProvider

public interface ConfigEditablePlugin
An interface to be implemented by a Plugin whose Configuration is runtime editable
  • Method Summary

    Modifier and Type
    Method
    Description
    edit(Map<String,Object> latestConf, List<org.apache.solr.common.util.CommandOperation> commands)
    Operate the commands on the latest conf and return a new conf object If there are errors in the commands , throw a SolrException.
  • Method Details

    • edit

      Map<String,Object> edit(Map<String,Object> latestConf, List<org.apache.solr.common.util.CommandOperation> commands)
      Operate the commands on the latest conf and return a new conf object If there are errors in the commands , throw a SolrException. return a null if no changes are to be made as a result of this edit. It is the responsibility of the implementation to ensure that the returned config is valid . The framework does no validation of the data