Package fr.gouv.vitam.worker.core.plugin
Class PluginConfiguration
java.lang.Object
fr.gouv.vitam.worker.core.plugin.PluginConfiguration
class storing configuration and type of a plugin
-
Constructor Summary
ConstructorDescriptionPluginConfiguration
(String propertiesFile, Class<ActionHandler> actionHandlerClazz) constructor -
Method Summary
Modifier and TypeMethodDescriptionproperty file link to the plugincreate a new instance for the plugin
-
Constructor Details
-
PluginConfiguration
constructor- Parameters:
propertiesFile
- the plugin properties fileactionHandlerClazz
- the class of worker ActionHandler
-
-
Method Details
-
getPropertiesFile
property file link to the plugin- Returns:
- path of the property file
-
newInstance
create a new instance for the plugin- Returns:
- new instance
- Throws:
InvocationPluginException
- if could not instance the plugin
-