Interface ConfigurablePluginFactory

  • All Implemented Interfaces:
    org.ossreviewtoolkit.utils.common.Plugin

    
    public interface ConfigurablePluginFactory<PLUGIN extends Object>
     implements Plugin
                        

    An interface to be implemented by plugin factories. Plugin factories are required if a plugin needs configuration on initialization and can therefore not be created directly by the ServiceLoader.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract PLUGIN create(Map<String, String> options, Map<String, String> secrets) Create a new instance of PLUGIN from options and secrets.
      • Methods inherited from class org.ossreviewtoolkit.utils.common.Plugin

        getType, isEnabledByDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait