Class DomainPropertiesBackup
java.lang.Object
org.glassfish.main.itest.tools.asadmin.DomainPropertiesBackup
Tool to simplify properties backup so you can symmetrically set some subset of properties before
and after the test
- Author:
- Ondro Mihalyi, David Matejcek
-
Constructor Summary
ConstructorsConstructorDescriptionDomainPropertiesBackup(String keyFilter, String... excludedKeys) Creates the backup by calling asadmin get keyFilter. -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainPropertiesBackupvoidrestore()Restore properties from the backup by calling asadmin set.
-
Constructor Details
-
DomainPropertiesBackup
Creates the backup by calling asadmin get keyFilter. From retrieved list excludes entries with the specified key.- Parameters:
keyFilter-excludedKeys-
-
-
Method Details
-
restore
public void restore()Restore properties from the backup by calling asadmin set. -
backupDerbyPool
- Returns:
- backup for keys starting by
resources.jdbc-connection-pool.DerbyPool.
-