Lines Matching defs:prompt
128 private String prompt;
261 * Construct a {@code ConfirmationCallback} with a prompt,
268 * @param prompt the prompt used to describe the list of options.
282 * @exception IllegalArgumentException if {@code prompt} is null,
283 * if {@code prompt} has a length of 0,
294 public ConfirmationCallback(String prompt, int messageType,
297 if (prompt == null || prompt.length() == 0 ||
318 this.prompt = prompt;
325 * Construct a {@code ConfirmationCallback} with a prompt,
335 * @param prompt the prompt used to describe the list of options.
345 * @exception IllegalArgumentException if {@code prompt} is null,
346 * if {@code prompt} has a length of 0,
357 public ConfirmationCallback(String prompt, int messageType,
360 if (prompt == null || prompt.length() == 0 ||
371 this.prompt = prompt;
378 * Get the prompt.
380 * @return the prompt, or null if this {@code ConfirmationCallback}
381 * was instantiated without a {@code prompt}.
384 return prompt;