public class NullInteractiveUserInfo extends Object implements InteractiveUserInfo
InteractiveUserInfo
, nice for
non-Interactive environmentsInteractiveUserInfo
ROLE
Constructor and Description |
---|
NullInteractiveUserInfo() |
NullInteractiveUserInfo(boolean promptYesNoResult)
Creates a
NullInteractiveUserInfo with 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 InteractiveUserInfo
InteractiveUserInfo.promptYesNo(java.lang.String)
public void showMessage(String message)
showMessage
in interface InteractiveUserInfo
InteractiveUserInfo.showMessage(java.lang.String)
public String promptPassword(String message)
promptPassword
in interface InteractiveUserInfo
public String promptPassphrase(String message)
promptPassphrase
in interface InteractiveUserInfo
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.