public class HelpMapMock
extends java.lang.Object
implements org.bukkit.help.HelpMap
HelpMapMock is our mock of Bukkit's HelpMap.| Constructor and Description |
|---|
HelpMapMock() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTopic(org.bukkit.help.HelpTopic topic) |
void |
assertRegistered(@NotNull org.bukkit.help.HelpTopicFactory<?> factory) |
void |
clear() |
org.bukkit.help.HelpTopic |
getHelpTopic(java.lang.String topicName) |
java.util.Collection<org.bukkit.help.HelpTopic> |
getHelpTopics() |
java.util.List<java.lang.String> |
getIgnoredPlugins() |
void |
registerHelpTopicFactory(java.lang.Class<?> commandClass,
org.bukkit.help.HelpTopicFactory<?> factory) |
public org.bukkit.help.HelpTopic getHelpTopic(java.lang.String topicName)
getHelpTopic in interface org.bukkit.help.HelpMappublic java.util.Collection<org.bukkit.help.HelpTopic> getHelpTopics()
getHelpTopics in interface org.bukkit.help.HelpMappublic void addTopic(org.bukkit.help.HelpTopic topic)
addTopic in interface org.bukkit.help.HelpMappublic void clear()
clear in interface org.bukkit.help.HelpMappublic java.util.List<java.lang.String> getIgnoredPlugins()
getIgnoredPlugins in interface org.bukkit.help.HelpMappublic void registerHelpTopicFactory(java.lang.Class<?> commandClass,
org.bukkit.help.HelpTopicFactory<?> factory)
registerHelpTopicFactory in interface org.bukkit.help.HelpMappublic void assertRegistered(@NotNull
@NotNull org.bukkit.help.HelpTopicFactory<?> factory)