public class DefaultNAsk<T> extends Object implements NAsk<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNAsk.NAskCache |
| Constructor and Description |
|---|
DefaultNAsk(NTerminal terminal,
NPrintStream out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configure, configureLastpublic DefaultNAsk(NTerminal terminal, NPrintStream out)
public String rememberMeKey()
rememberMeKey in interface NAsk<T>public NAsk<T> rememberMeKey(String rememberMeKey)
rememberMeKey in interface NAsk<T>public boolean isResetLine()
isResetLine in interface NAsk<T>public NAsk<char[]> forPassword(NMsg msg)
forPassword in interface NAsk<T>public NMsg hintMessage()
hintMessage in interface NAsk<T>public NMsg cancelMessage()
cancelMessage in interface NAsk<T>public List<Object> acceptedValues()
acceptedValues in interface NAsk<T>public NAsk<T> acceptedValues(List<Object> acceptedValues)
acceptedValues in interface NAsk<T>public T defaultValue()
defaultValue in interface NAsk<T>public NAsk<T> defaultValue(T defaultValue)
defaultValue in interface NAsk<T>public NAskFormat<T> format()
public NAskParser<T> parser()
public NAskValidator<T> validator()
public NAsk<T> validator(NAskValidator<T> validator)
public Boolean booleanValue()
booleanValue in interface NAsk<T>public final NAsk<T> configure(boolean skipUnsupported, String... args)
NCmdLineConfigurable.configure(boolean, java.lang.String...)
to help return a more specific return type;configure in interface NCmdLineConfigurableconfigure in interface NAsk<T>args - argument to configure withthis instancepublic NAsk<T> cancelMessage(NMsg message)
cancelMessage in interface NAsk<T>public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableCopyright © 2026 vpc open source initiative. All rights reserved.