SlangStatement

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() 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 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

Last updated