Class InactivityCanceller

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

public class InactivityCanceller extends org.bukkit.conversations.InactivityConversationCanceller
  • Field Summary

    Fields inherited from class org.bukkit.conversations.InactivityConversationCanceller

    conversation, plugin, timeoutSeconds
  • Constructor Summary

    Constructors
    Constructor
    Description
    InactivityCanceller(@NotNull org.bukkit.plugin.Plugin plugin, int timeoutSeconds)
    Creates an InactivityConversationCanceller.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    cancelling(@NotNull org.bukkit.conversations.Conversation conversation)
     

    Methods inherited from class org.bukkit.conversations.InactivityConversationCanceller

    cancelBasedOnInput, clone, setConversation

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InactivityCanceller

      public InactivityCanceller(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, int timeoutSeconds)
      Creates an InactivityConversationCanceller.
      Parameters:
      plugin - The owning plugin.
      timeoutSeconds - The number of seconds of inactivity to wait.
  • Method Details

    • cancelling

      protected void cancelling(@NotNull @NotNull org.bukkit.conversations.Conversation conversation)
      Overrides:
      cancelling in class org.bukkit.conversations.InactivityConversationCanceller