Suppress removal of the named removal group. If a group name is not specified the default name
group is used. Removal groups aid removal of complex structures such as those created by deep discovery of databases (see model.setRemovalGroup for more information). In certain circumstances you might want to prevent removal of the removal group.
For example, the following code sets a removal group.
If the pattern fails to recover details from the database, all the database details would be removed. This can be prevented using the following code in the case for example, where the credentials are locked out: