- All Superinterfaces:
PromptItem
Interface for confirmation items in the Prompter.
Confirmation items are immutable - their default value is set during creation.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanGet the default confirmation value.Methods inherited from interface org.jline.prompt.PromptItem
getDisabledText, getFooter, getName, getText, isDisabled, isSelectable
-
Method Details
-
getDefaultValue
default boolean getDefaultValue()Get the default confirmation value.- Returns:
- the default confirmation value
-