Package adams.core
Interface PasswordPrompter
-
- All Superinterfaces:
PasswordSupporter
- All Known Implementing Classes:
AbstractDatabaseConnection
,DatabaseConnection
,FTPConnection
,SMBConnection
,SMTPConnection
,SSHConnection
public interface PasswordPrompter extends PasswordSupporter
Interface for classes that prompt the user to enter a password.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getPromptForPassword()
Returns whether to prompt for a password if none currently provided.String
promptForPasswordTipText()
Returns the tip text for this property.void
setPromptForPassword(boolean value)
Sets whether to prompt for a password if none currently provided.-
Methods inherited from interface adams.core.PasswordSupporter
getPassword, setPassword
-
-
-
-
Method Detail
-
setPromptForPassword
void setPromptForPassword(boolean value)
Sets whether to prompt for a password if none currently provided.- Parameters:
value
- true if to prompt for a password
-
getPromptForPassword
boolean getPromptForPassword()
Returns whether to prompt for a password if none currently provided.- Returns:
- true if to prompt for a password
-
promptForPasswordTipText
String promptForPasswordTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-