Uses of Interface
org.jline.prompt.PrompterConfig
Packages that use PrompterConfig
Package
Description
JLine Prompt API - Interactive Console Prompts for Java Applications.
Implementation classes for the JLine Prompt API.
-
Uses of PrompterConfig in org.jline.prompt
Methods in org.jline.prompt that return PrompterConfigModifier and TypeMethodDescriptionstatic PrompterConfigPrompterConfig.custom(String indicator, String uncheckedBox, String checkedBox, String unavailable, org.jline.utils.StyleResolver styleResolver, boolean cancellableFirstPrompt) Create a custom configuration with style resolver support.static PrompterConfigPrompterConfig.defaults()Create a configuration with platform-specific defaults.static PrompterConfigPrompterConfig.unix()Create a configuration with Unix/Linux-specific defaults.static PrompterConfigPrompterConfig.windows()Create a configuration with Windows-specific defaults.default PrompterConfigPrompterConfig.withCancellableFirstPrompt(boolean cancellable) Methods in org.jline.prompt with parameters of type PrompterConfigModifier and TypeMethodDescriptionstatic PrompterPrompterFactory.create(org.jline.reader.LineReader reader, org.jline.terminal.Terminal terminal, PrompterConfig config) Create a new Prompter instance with the given line reader, terminal, and configuration.static PrompterPrompterFactory.create(org.jline.terminal.Terminal terminal, PrompterConfig config) Create a new Prompter instance with the given terminal and configuration. -
Uses of PrompterConfig in org.jline.prompt.impl
Classes in org.jline.prompt.impl that implement PrompterConfigModifier and TypeClassDescriptionclassDefault implementation of PrompterConfig interface.Constructors in org.jline.prompt.impl with parameters of type PrompterConfigModifierConstructorDescriptionDefaultPrompter(org.jline.reader.LineReader reader, org.jline.terminal.Terminal terminal, PrompterConfig config) Create a new DefaultPrompter with the given line reader, terminal, and configuration.DefaultPrompter(org.jline.terminal.Terminal terminal, PrompterConfig config) Create a new DefaultPrompter with the given terminal and configuration.