# 接口的使用
org.bukkit.conversations.ConversationCanceller

使用ConversationCanceller的程序包
程序包
说明
org.bukkit.conversations
致力于简化玩家与插件的直接通信的类(玩家与插件的对话，典型的场景比如操作的确认、提供插件所需数据).

- ## org.bukkit.conversations中ConversationCanceller的使用

  实现ConversationCanceller的org.bukkit.conversations中的类
  修饰符和类型
  类
  说明
  `class`
  `ExactMatchConversationCanceller`
  An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string
  `class`
  `InactivityConversationCanceller`
  An InactivityConversationCanceller will cancel a `Conversation` after a period of inactivity by the user.
  `class`
  `ManuallyAbandonedConversationCanceller`
  The ManuallyAbandonedConversationCanceller is only used as part of a `ConversationAbandonedEvent` to indicate that the conversation was manually abandoned by programmatically calling the abandon() method on it.
  类型参数类型为ConversationCanceller的org.bukkit.conversations中的字段
  修饰符和类型
  字段
  说明
  `protected List<ConversationCanceller>`
  Conversation.`cancellers`
  `protected List<ConversationCanceller>`
  ConversationFactory.`cancellers`
  返回ConversationCanceller的org.bukkit.conversations中的方法
  修饰符和类型
  方法
  说明
  `@NotNull ConversationCanceller`
  ConversationCanceller.`clone()`
  允许某一`ConversationFactory`在创建一个新`Conversation`时 复制这个ConversationCanceller.
  `@NotNull ConversationCanceller`
  ExactMatchConversationCanceller.`clone()`
  `@NotNull ConversationCanceller`
  InactivityConversationCanceller.`clone()`
  `@NotNull ConversationCanceller`
  ManuallyAbandonedConversationCanceller.`clone()`
  `@Nullable ConversationCanceller`
  ConversationAbandonedEvent.`getCanceller()`
  获取终止该会话的`ConversationCanceller`.
  返回变量类型为ConversationCanceller的类型的org.bukkit.conversations中的方法
  修饰符和类型
  方法
  说明
  `@NotNull List<ConversationCanceller>`
  Conversation.`getCancellers()`
  Gets the list of `ConversationCanceller`s
  参数类型为ConversationCanceller的org.bukkit.conversations中的方法
  修饰符和类型
  方法
  说明
  `@NotNull ConversationFactory`
  ConversationFactory.`withConversationCanceller(@NotNull ConversationCanceller canceller)`
  Adds a `ConversationCanceller` to constructed conversations.
  参数类型为ConversationCanceller的org.bukkit.conversations中的构造器
  限定符
  构造器
  说明
  ``
  `ConversationAbandonedEvent(@NotNull Conversation conversation, @Nullable ConversationCanceller canceller)`