Class ExactMatchConversationCanceller

java.lang.Object
org.bukkit.conversations.ExactMatchConversationCanceller
All Implemented Interfaces:
java.lang.Cloneable, ConversationCanceller

public class ExactMatchConversationCanceller
extends java.lang.Object
implements ConversationCanceller
An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string
  • Constructor Summary

    Constructors 
    Constructor Description
    ExactMatchConversationCanceller​(java.lang.String escapeSequence)
    Builds an ExactMatchConversationCanceller.
  • Method Summary

    Modifier and Type Method Description
    boolean cancelBasedOnInput​(ConversationContext context, java.lang.String input)
    Cancels a conversation based on user input.
    ConversationCanceller clone()
    Allows the ConversationFactory to duplicate this ConversationCanceller when creating a new Conversation.
    void setConversation​(Conversation conversation)
    Sets the conversation this ConversationCanceller can optionally cancel.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait