Wiki source code of Generisches Plugin


Hide last authors
awa 1.1 1 {{content/}}
2
fse 2.1 3 **[[Download demo project for this plugin type>>url:https://customer.formcycle.eu/index.php/s/TysXcyTvPsyxWh8||rel="noopener noreferrer" target="_blank"]]**
awa 1.1 4
5 == IPluginGeneric ==
6
fse 2.1 7 === Uses ===
awa 1.1 8
fse 2.1 9 The generic plugin is not included in any process chain of {{formcycle case="dat"/}}.
10 The //execute// method provided by the plugin must therefore be addressed by its own logic.
11 Plugins of this type are instantiated during the registration process and removed from the running system during the de-registration process.
awa 1.1 12
13
fse 2.1 14 This plugin type is therefore suitable for making file resources from the plugin bundle available in the {{formcycle/}} system, for example.
15 Furthermore, resources that are no longer required can be removed from the system when the plug-in bundle is uninstalled.
16 All necessary interfaces are provided by the [[Base interface IFCPlugin>>doc:IFCPlugin]].
awa 1.1 17
fse 2.1 18 === Method signatures ===
awa 1.1 19
20 {{panel title="{{code language='java'~}~}IPluginGenericRetVal execute(IPluginGenericParams params) throws FCPluginException{{/code~}~}" triggerable="true" fullwidth="true"}}
21 (((
fse 2.1 22 **Transfer values:**
awa 1.1 23
fse 2.1 24 * The //IPluginGenericParams// type provides the following properties:
25 ** **getParameterMap():** a map with parameters in serialised form.
awa 1.1 26 )))
fse 2.1 27 **Return values:**
awa 1.1 28 (((
fse 2.1 29 Return values must be of type //IPluginGenericRetVal//, a reference implementation is provided by the //PluginGenericRetVal// class. A map with serialisable content can be passed to this object in the constructor.
awa 1.1 30 )))
31 {{/panel}}