| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | InputRequest(String
The prompt to show to the user. Must not be null. prompt)Construct an InputRequest. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | |
| public boolean | |
| public void | |
| public void |
| defaultValue | back to summary |
|---|---|
| private String defaultValue | |
| input | back to summary |
|---|---|
| private String input | |
| prompt | back to summary |
|---|---|
| private final String prompt | |
| InputRequest | back to summary |
|---|---|
| public InputRequest(String prompt) Construct an InputRequest.
| |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Gets a configured default value.
| |
| getInput | back to summary |
|---|---|
| public String getInput() Retrieves the user input.
| |
| getPrompt | back to summary |
|---|---|
| public String getPrompt() Retrieves the prompt text.
| |
| isInputValid | back to summary |
|---|---|
| public boolean isInputValid() Is the user input valid?
| |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String d) Configures a default value.
| |
| setInput | back to summary |
|---|---|
| public void setInput(String input) Sets the user provided input.
| |