public class NullInteractiveUserInfo extends Object implements InteractiveUserInfo
InteractiveUserInfo, nice for
 non-Interactive environmentsInteractiveUserInfoROLE| Constructor and Description | 
|---|
| NullInteractiveUserInfo() | 
| NullInteractiveUserInfo(boolean promptYesNoResult)Creates a  NullInteractiveUserInfowith a hardcoded
 prompYesNo result | 
| Modifier and Type | Method and Description | 
|---|---|
| String | promptPassphrase(String message) | 
| String | promptPassword(String message) | 
| boolean | promptYesNo(String message) | 
| void | showMessage(String message) | 
public NullInteractiveUserInfo()
NullInteractiveUserInfo(boolean)public NullInteractiveUserInfo(boolean promptYesNoResult)
NullInteractiveUserInfo with a hardcoded
 prompYesNo resultpromptYesNoResult - the hardcoded resultpublic boolean promptYesNo(String message)
promptYesNo in interface InteractiveUserInfoInteractiveUserInfo.promptYesNo(java.lang.String)public void showMessage(String message)
showMessage in interface InteractiveUserInfoInteractiveUserInfo.showMessage(java.lang.String)public String promptPassword(String message)
promptPassword in interface InteractiveUserInfopublic String promptPassphrase(String message)
promptPassphrase in interface InteractiveUserInfoCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.