Class RequestCanceller

java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.conversation.RequestCanceller
All Implemented Interfaces:
Cloneable, org.bukkit.conversations.ConversationCanceller

public class RequestCanceller extends Object implements org.bukkit.conversations.ConversationCanceller
  • Constructor Details

    • RequestCanceller

      public RequestCanceller(@NotNull @NotNull String escapeSequence, @NotNull @NotNull String cancelledMessage)
    • RequestCanceller

      public RequestCanceller(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String cancelledMessage)
  • Method Details

    • setConversation

      public void setConversation(@NotNull @NotNull org.bukkit.conversations.Conversation conversation)
      Specified by:
      setConversation in interface org.bukkit.conversations.ConversationCanceller
    • cancelBasedOnInput

      public boolean cancelBasedOnInput(@NotNull @NotNull org.bukkit.conversations.ConversationContext context, @NotNull @NotNull String input)
      Specified by:
      cancelBasedOnInput in interface org.bukkit.conversations.ConversationCanceller
    • clone

      @NotNull public @NotNull org.bukkit.conversations.ConversationCanceller clone()
      Specified by:
      clone in interface org.bukkit.conversations.ConversationCanceller
      Overrides:
      clone in class Object