Class PluginConfig

java.lang.Object
org.apache.accumulo.core.client.admin.PluginConfig

public class PluginConfig extends Object
Encapsulates the configuration of an Accumulo server side plugin, which consist of a class name and options.
Since:
2.1.0
  • Constructor Details

    • PluginConfig

      public PluginConfig(String className)
      Parameters:
      className - The name of a class that implements a server side plugin. This class must exist on the server side classpath.
    • PluginConfig

      public PluginConfig(String className, Map<String,String> options)
      Parameters:
      className - The name of a class that implements a server side plugin. This class must exist on the server side classpath.
      options - The options that will be passed to the init() method of the plugin when its instantiated server side. This method will copy the map. The default is an empty map.
  • Method Details

    • getClassName

      public String getClassName()
      Returns:
      the class name passed to the constructor.
    • getOptions

      public Map<String,String> getOptions()
      Returns:
      The previously set options. Returns an unmodifiable map. The default is an empty map.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object