BCI Nodes - Keep
<Keep> - In BBj 11.00 and higher, this node searches for beginning and ending tags in file and stores the text found in between the tags in a variable. Can be used in conjunction with <Replace> node to keep some lines in a file but replace others. The parent node must be a <File> node.
Attribute | Description | Possible Values | Default Value |
---|---|---|---|
variable |
The name of the variable in which to store the resultant lines. |
Name of variable | None |
begin |
The beginning tag to search the file for. |
Any string | None |
end |
The ending tag to search the file for. |
Any string | None |
Common Attribute | Description | Possible Values | Default Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bit |
Specifies the Java bit level for which the BCI node will be active. |
In BBj 19.21 and higher, 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. |
In BBj 19.21 and higher, the following values may also be used:
|
0 = All bit levels |
||||||||||
osname | In BBj 24.10 and higher, specifies the OS for which the BCI node will be active. Multiple OS's are comma separated. |
|
All | ||||||||||
portid |
Specifies the port ID for which the BCI node will be active. Multiple port IDs are comma separated. As of BBj 24.10, the portid attribute has been removed. Use osname instead. |
See Platform Availability for possible port IDs. |
All port IDs |
Example
|