<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html"title="class or interface in java.lang"class="external-link">Cloneable</a></code></dd>
</dl>
<dlclass="notes">
<dt>All Known Implementing Classes:</dt>
<dd><code><ahref="BooleanPrompt.html"title="class in org.bukkit.conversations">BooleanPrompt</a></code>, <code><ahref="FixedSetPrompt.html"title="class in org.bukkit.conversations">FixedSetPrompt</a></code>, <code><ahref="MessagePrompt.html"title="class in org.bukkit.conversations">MessagePrompt</a></code>, <code><ahref="NumericPrompt.html"title="class in org.bukkit.conversations">NumericPrompt</a></code>, <code><ahref="PlayerNamePrompt.html"title="class in org.bukkit.conversations">PlayerNamePrompt</a></code>, <code><ahref="RegexPrompt.html"title="class in org.bukkit.conversations">RegexPrompt</a></code>, <code><ahref="StringPrompt.html"title="class in org.bukkit.conversations">StringPrompt</a></code>, <code><ahref="ValidatingPrompt.html"title="class in org.bukkit.conversations">ValidatingPrompt</a></code></dd>
extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html"title="class or interface in java.lang"class="external-link">Cloneable</a></span></div>
<divclass="block">A Prompt is the main constituent of a <ahref="Conversation.html"title="class in org.bukkit.conversations"><code>Conversation</code></a>. Each prompt
displays text to the user and optionally waits for a user's response.
Prompts are chained together into a directed graph that represents the
conversation flow. To halt a conversation, END_OF_CONVERSATION is returned
in liu of another Prompt object.</div>
</section>
<sectionclass="summary">
<ulclass="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<sectionclass="field-summary"id="field-summary">
<h2>Field Summary</h2>
<divclass="caption"><span>Fields</span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Prompt.html"title="interface in org.bukkit.conversations">Prompt</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#acceptInput(org.bukkit.conversations.ConversationContext,java.lang.String)"class="member-name-link">acceptInput</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#blocksForInput(org.bukkit.conversations.ConversationContext)"class="member-name-link">blocksForInput</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context)</code></div>
<divclass="block">Checks to see if this prompt implementation should wait for user input
or immediately display the next prompt.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getPromptText(org.bukkit.conversations.ConversationContext)"class="member-name-link">getPromptText</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context)</code></div>
<divclass="block">Gets the text to display to the user when this prompt is first
presented.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field-detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="END_OF_CONVERSATION">
<h3>END_OF_CONVERSATION</h3>
<divclass="member-signature"><spanclass="modifiers">static final</span> <spanclass="return-type"><ahref="Prompt.html"title="interface in org.bukkit.conversations">Prompt</a></span> <spanclass="element-name">END_OF_CONVERSATION</span></div>
<divclass="block">A convenience constant for indicating the end of a conversation.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getPromptText</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context)</span></div>
<divclass="block">Gets the text to display to the user when this prompt is first
presented.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>context</code> - Context information about the conversation.</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">blocksForInput</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context)</span></div>
<divclass="block">Checks to see if this prompt implementation should wait for user input
or immediately display the next prompt.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>context</code> - Context information about the conversation.</dd>
<dt>Returns:</dt>
<dd>If true, the <ahref="Conversation.html"title="class in org.bukkit.conversations"><code>Conversation</code></a> will wait for input before
continuing. If false, <ahref="#acceptInput(org.bukkit.conversations.ConversationContext,java.lang.String)"><code>acceptInput(ConversationContext, String)</code></a> will be called immediately with <code>null</code> input.</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Prompt.html"title="interface in org.bukkit.conversations">Prompt</a></span> <spanclass="element-name">acceptInput</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ConversationContext.html"title="class in org.bukkit.conversations">ConversationContext</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input)</span></div>
<divclass="block">Accepts and processes input from the user. Using the input, the next
Prompt in the prompt graph is returned.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>context</code> - Context information about the conversation.</dd>
<dd><code>input</code> - The input text from the user.</dd>