java.lang.Object
org.jline.prompt.impl.DefaultPrompt
org.jline.prompt.impl.DefaultConfirmPrompt
- All Implemented Interfaces:
ConfirmPrompt,Prompt
Default implementation of ConfirmPrompt interface.
This is now the native implementation that doesn't depend on console-ui.
-
Field Summary
Fields inherited from class org.jline.prompt.impl.DefaultPrompt
message, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jline.prompt.impl.DefaultPrompt
getFilter, getMessage, getName, getTransformer, setFilter, setTransformerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.prompt.Prompt
getFilter, getMessage, getName, getTransformer
-
Constructor Details
-
DefaultConfirmPrompt
-
-
Method Details
-
getDefaultValue
public boolean getDefaultValue()Description copied from interface:ConfirmPromptGet the default value.- Specified by:
getDefaultValuein interfaceConfirmPrompt- Returns:
- the default value
-