Interface AccountSelectionHandler
- All Superinterfaces:
CancelableHandler
The object handling the outcome of an interaction where the user chooses the account to be used.
-
Method Summary
-
Method Details
-
cancel
void cancel()This method must be invoked if the operation must be canceled.- Specified by:
cancelin interfaceCancelableHandler- Throws:
IllegalStateException- if either this method orusername(String)were previously invoked
-
username
Provides the username of the account selected by the user.- Parameters:
username- the username of the selected account- Throws:
IllegalStateException- if eithercancel()or this method were previously invoked
-