Class PluginConfig


  • public final class PluginConfig
    extends Object
    This class defines the configuration of a plugin. A plugin is defined by - an api (an interface that extends Plugin ) - an implemenation class of the api - a map of params Several plugins may have the same type. - for example : a metaDataExtractor plugin has many implementations to deal with all the formats The same plugin can be used many times with distincts params - for example : a plugin to listen on a specific channel will be used with many params (as many as channels)
    Author:
    npiedeloup, pchretien
    • Method Detail

      • getApiClass

        public Class<? extends Plugin> getApiClass()
        Returns:
        the api class
      • getImplClass

        public Class<? extends Plugin> getImplClass()
        Returns:
        the impl class
      • getParams

        public List<Param> getParams()
        Returns:
        the params