Package com.isode.dsapi.profile
Interface BindProfileModifyWatcher
public interface BindProfileModifyWatcher
Interface to be implemented by applications that want to get notified if the
Isode bind profile has been modified by an external program.
- Since:
- 15.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
static interface
Interface to provide a method for actions that would be done post the user's selection of the action on noticing the bind profile modification -
Method Summary
Modifier and TypeMethodDescriptionbindProfileModifiedSinceLastUpdate
(String appNameThatModified, Date whenModified, boolean passwordChange) Action to be taken when the bind profile list is found modified since the last reload of the bind profile list.
-
Method Details
-
bindProfileModifiedSinceLastUpdate
BindProfileModifyWatcher.BIND_PROFILE_MODIFY_ACTION bindProfileModifiedSinceLastUpdate(String appNameThatModified, Date whenModified, boolean passwordChange) throws IOException Action to be taken when the bind profile list is found modified since the last reload of the bind profile list.- Parameters:
appNameThatModified
- application name that modified itwhenModified
- last modification of the bind profilepasswordChange
- true if the bindprofile password has been changed- Returns:
- the action to be taken when the bind profile file has been updated by an external program
- Throws:
IOException
- if there was an error while reloading the bind profile
-