Package com.isode.dsapi.profile
Interface IsodeBindProfiles.PostUpgradeCallback
- Enclosing class:
- IsodeBindProfiles
public static interface IsodeBindProfiles.PostUpgradeCallback
Allows a callback to be made following the upgrading of a bindprofiles
file. The expectation is that an application will use this callback as
an opportunity to inform the user that an upgrade has taken place;
once the upgrade has been done, the callback won't be invoked any more.
- Since:
- 14.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
upgradeDone
(String oldFilename, int oldVersion, String backupFilename, String newFilename, int newVersion) An out-of-date version of a bindprofiles file was found and successfully upgraded.
-
Method Details
-
upgradeDone
void upgradeDone(String oldFilename, int oldVersion, String backupFilename, String newFilename, int newVersion) An out-of-date version of a bindprofiles file was found and successfully upgraded.- Parameters:
oldFilename
- the name of the old fileoldVersion
- the version of the old filebackupFilename
- what oldFilename was renamed tonewFilename
- the name of the file that was creatednewVersion
- the version of the file that was created
-