SlangPrompt

Modifier and Type Method and Description String getAffirmative()

Returns an affirmative response configured for this prompt. String getAffirmative(Locale locale)

Returns an affirmative response configured for this prompt. List<String> getAffirmatives() String getNegative()

Returns a negative response configured for this prompt. String getNegative(Locale locale)

Returns a negative response configured for this prompt. List<String> getNegatives() String getQuestion()

Returns a question configured for this prompt. String getQuestion(Locale locale)

Returns a question configured for this prompt. List<String> getQuestions() boolean hasAffirmative()

Returns whether this prompt has a configured affirmative response or not boolean hasAffirmative(Locale locale)

Returns whether this prompt has a configured affirmative response or not boolean hasNegative()

Returns whether this prompt has a configured negative response or not boolean hasNegative(Locale locale)

Returns whether this prompt has a configured negative response or not boolean hasQuestion()

Returns whether this prompt has a configured question or not boolean hasQuestion(Locale locale)

Returns whether this prompt has a configured question or not void overrideAffirmative(String override)

Overrides the affirmative response for this prompt. void overrideAffirmative(String override, Locale locale)

Overrides the affirmative response for this prompt for given locale. void overrideNegative(String override)

Overrides the negative response for this prompt. void overrideNegative(String override, Locale locale)

Overrides the negative response for this prompt for given locale. void overrideQuestion(String override)

Overrides the question for this prompt void overrideQuestion(String override, Locale locale)

Overrides the question for this prompt for given locale

Last updated