Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644 By: feildmaster <admin@feildmaster.com>
This commit is contained in:
@@ -15,6 +15,7 @@ public class ConversationContext {
|
||||
private Plugin plugin;
|
||||
|
||||
/**
|
||||
* @param plugin The owning plugin.
|
||||
* @param forWhom The subject of the conversation.
|
||||
* @param initialSessionData Any initial values to put in the sessionData map.
|
||||
*/
|
||||
|
||||
@@ -29,6 +29,7 @@ public class ConversationFactory {
|
||||
|
||||
/**
|
||||
* Constructs a ConversationFactory.
|
||||
* @param plugin The plugin that owns the factory.
|
||||
*/
|
||||
public ConversationFactory(Plugin plugin)
|
||||
{
|
||||
@@ -178,7 +179,7 @@ public class ConversationFactory {
|
||||
for (ConversationCanceller canceller : cancellers) {
|
||||
conversation.addConversationCanceller(canceller.clone());
|
||||
}
|
||||
|
||||
|
||||
//Add the ConversationAbandonedListeners
|
||||
for (ConversationAbandonedListener listener : abandonedListeners) {
|
||||
conversation.addConversationAbandonedListener(listener);
|
||||
|
||||
@@ -12,7 +12,7 @@ public abstract class MessagePrompt implements Prompt{
|
||||
/**
|
||||
* Message prompts never wait for user input before continuing.
|
||||
* @param context Context information about the conversation.
|
||||
* @return
|
||||
* @return Always false.
|
||||
*/
|
||||
public boolean blocksForInput(ConversationContext context) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user