BCI Nodes - CustomAction
<CustomAction> - In BBj 11.0 and higher, this node runs custom Java code. The Java class files must be added to the BASIS installable jar and must implement one of the following BCI interfaces:
- StartInstallCustomAction
- PreInstallCustomAction
- PostInstallCustomAction
- FinishInstallCustomAction
- StartUninstallCustomAction
- PreUninstallCustomAction
- PostUninstallCustomAction
- FinishUninstallCustomAction
Attribute |
Description |
Possible Values |
Default Value |
name |
Specifies the class name that contains the execute method. |
Name of class |
None |
occurs |
Specifies when the custom action will occur. |
startinstall, preinstall, postinstall, finishinstall, |
preinstall |
Common Attribute |
Description |
Possible Values |
Default Value |
bit |
Specifies the Java bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
osbit |
Specifies the OS bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
portid |
Specifies the port ID for which the BCI node will be active. Multiple port IDs are comma separated. |
See www.basis.cloud/availability for possible port IDs. |
All port IDs |
Example
<CustomAction name="com.basis.install.BASISPreInstallCustomAction" occurs="preinstall"/>