public abstract class FixedSetPrompt extends ValidatingPrompt
END_OF_CONVERSATION
Constructor and Description |
---|
FixedSetPrompt(String... fixedSet)
Creates a FixedSetPrompt from a set of strings.
|
acceptInput, blocksForInput
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPromptText
public FixedSetPrompt(String... fixedSet)
foo = new FixedSetPrompt("bar", "cheese", "panda");
fixedSet
- A fixed set of strings, one of which the user must
type.Copyright © 2022. All rights reserved.