Wiki source code of Generisches Plugin
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{content/}} | ||
2 | |||
3 | **[[Download demo project for this plugin type>>url:https://customer.formcycle.eu/index.php/s/TysXcyTvPsyxWh8||rel="noopener noreferrer" target="_blank"]]** | ||
4 | |||
5 | == IPluginGeneric == | ||
6 | |||
7 | === Uses === | ||
8 | |||
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. | ||
12 | |||
13 | |||
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]]. | ||
17 | |||
18 | === Method signatures === | ||
19 | |||
20 | {{panel title="{{code language='java'~}~}IPluginGenericRetVal execute(IPluginGenericParams params) throws FCPluginException{{/code~}~}" triggerable="true" fullwidth="true"}} | ||
21 | ((( | ||
22 | **Transfer values:** | ||
23 | |||
24 | * The //IPluginGenericParams// type provides the following properties: | ||
25 | ** **getParameterMap():** a map with parameters in serialised form. | ||
26 | ))) | ||
27 | **Return values:** | ||
28 | ((( | ||
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. | ||
30 | ))) | ||
31 | {{/panel}} |