Class PluginConfig

    • Constructor Detail

      • PluginConfig

        public PluginConfig()
        Creates an empty plugin configuration.
      • PluginConfig

        public PluginConfig​(String name,
                            String clazz)
        Creates a plugin configuration with the given name and class.
        Parameters:
        name - the human-readable name of the plugin
        clazz - the name of the plugin's java class
      • PluginConfig

        public PluginConfig​(PluginConfig pluginConfig)

        Constructor for PluginConfig.

        Parameters:
        pluginConfig - a PluginConfig object.
    • Method Detail

      • getName

        public String getName()
        Get the name of the plugin.
        Returns:
        the human-readable name of the plugin
      • setName

        public void setName​(String name)
        Sets the name of the plugin.
        Parameters:
        name - the human-readable name to set
      • getPluginClass

        public String getPluginClass()
        Get the name of the plugin's java class.
        Returns:
        the plugin's class name
      • setPluginClass

        public void setPluginClass​(String clazz)
        Set the name of the plugin's java class.
        Parameters:
        clazz - a String object.
      • getParameters

        public Set<PluginParameter> getParameters()
        Get a List of the plugin parameters.
        Returns:
        the parameters
      • setParameters

        public void setParameters​(Set<PluginParameter> list)

        setParameters

        Parameters:
        list - a Set object.
      • getParameterMap

        public Map<String,​String> getParameterMap()

        getParameterMap

        Returns:
        the parameters
      • setParameterMap

        public void setParameterMap​(Map<String,​String> parameters)

        setParameterMap

        Parameters:
        parameters - the parameters to set
      • getParameter

        public String getParameter​(String key)

        getParameter

        Parameters:
        key - the parameter name
        Returns:
        the parameter value
      • addParameter

        public void addParameter​(String key,
                                 String value)

        addParameter

        Parameters:
        key - the parameter name
        value - the parameter value
      • getAvailableParameterKeys

        public Set<String> getAvailableParameterKeys()

        getAvailableParameterKeys

        Returns:
        a Set object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object