- All Superinterfaces:
PromptResult<TogglePrompt>
- All Known Implementing Classes:
DefaultToggleResult
Result of a toggle prompt. Contains a boolean indicating the selected state.
-
Method Summary
Methods inherited from interface org.jline.prompt.PromptResult
getDisplayResult, getPrompt, getResult
-
Method Details
-
isActive
boolean isActive()Get the selected value.- Returns:
- true if active state was selected, false for inactive
-