Package fr.gouv.vitam.worker.core.plugin

# Class PluginConfiguration

java.lang.Object
fr.gouv.vitam.worker.core.plugin.PluginConfiguration

public class PluginConfiguration extends Object
class storing configuration and type of a plugin

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PluginConfiguration(String propertiesFile, Class<ActionHandler> actionHandlerClazz)`
  constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getPropertiesFile()`
  property file link to the plugin
  `ActionHandler`
  `newInstance()`
  create a new instance for the plugin

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### PluginConfiguration

    public PluginConfiguration(String propertiesFile, Class<ActionHandler> actionHandlerClazz)
    constructor
    Parameters:
      `propertiesFile` - the plugin properties file
      `actionHandlerClazz` - the class of worker ActionHandler

- ## Method Details

  - ### getPropertiesFile

    public String getPropertiesFile()
    property file link to the plugin
    Returns:
      path of the property file

  - ### newInstance

    public ActionHandler newInstance() throws InvocationPluginException
    create a new instance for the plugin
    Returns:
      new instance
    Throws:
      `InvocationPluginException` - if could not instance the plugin