Uses of Class
top.focess.qq.api.plugin.Plugin
-
-
Uses of Plugin in top.focess.qq
Subclasses of Plugin in top.focess.qq Modifier and Type Class Description static classMain.MainPluginThe MainPlugin Plugin is a core plugin in Bot.Methods in top.focess.qq that return Plugin Modifier and Type Method Description static PluginMain. getMainPlugin()static @Nullable PluginMain. getPlugin(Class<? extends Plugin> cls)Get the plugin by its classstatic @Nullable PluginMain. getPlugin(String name)Get the plugin by its nameMethods in top.focess.qq that return types with arguments of type Plugin Modifier and Type Method Description static List<Plugin>Main. getPlugins()Get all the loaded pluginsMethod parameters in top.focess.qq with type arguments of type Plugin Modifier and Type Method Description static @Nullable PluginMain. getPlugin(Class<? extends Plugin> cls)Get the plugin by its class -
Uses of Plugin in top.focess.qq.api.command
Methods in top.focess.qq.api.command that return Plugin Modifier and Type Method Description @NotNull PluginCommand. getPlugin()PluginDataCollection. getPlugin()Get Plugin argument in orderMethods in top.focess.qq.api.command that return types with arguments of type Plugin Modifier and Type Method Description Class<? extends Plugin>plugin()Set the plugin the command belongs toMethods in top.focess.qq.api.command with parameters of type Plugin Modifier and Type Method Description static voidCommand. register(@NotNull Plugin plugin, @NotNull Command command)Register the commandstatic voidDataCollection. register(Plugin plugin, DataConverter<?> dataConverter, DataCollection.BufferGetter bufferGetter)Register the getter of the bufferstatic voidCommand. unregister(Plugin plugin)Unregister all commands in the pluginstatic voidDataCollection. unregister(Plugin plugin)Unregister the getter of the buffers by pluginvoidDataCollection. writePlugin(Plugin p)Write a Plugin argument -
Uses of Plugin in top.focess.qq.api.command.converter
Methods in top.focess.qq.api.command.converter that return Plugin Modifier and Type Method Description PluginPluginDataConverter. convert(String arg)Methods in top.focess.qq.api.command.converter that return types with arguments of type Plugin Modifier and Type Method Description protected Class<Plugin>PluginDataConverter. getTargetClass()Methods in top.focess.qq.api.command.converter with parameters of type Plugin Modifier and Type Method Description protected voidPluginDataConverter. connect(DataCollection dataCollection, Plugin arg) -
Uses of Plugin in top.focess.qq.api.command.data
Methods in top.focess.qq.api.command.data that return Plugin Modifier and Type Method Description PluginPluginBuffer. get()Methods in top.focess.qq.api.command.data with parameters of type Plugin Modifier and Type Method Description voidPluginBuffer. put(Plugin plugin) -
Uses of Plugin in top.focess.qq.api.event
Methods in top.focess.qq.api.event that return Plugin Modifier and Type Method Description PluginListenerHandler. getPlugin()Get the plugin of the listenerMethods in top.focess.qq.api.event with parameters of type Plugin Modifier and Type Method Description static voidListenerHandler. register(Plugin plugin, Listener listener)Add the listener and bundle to the pluginstatic voidListenerHandler. unregister(Plugin plugin)Unregister all listeners bundle to the plugin -
Uses of Plugin in top.focess.qq.api.event.plugin
Methods in top.focess.qq.api.event.plugin that return Plugin Modifier and Type Method Description PluginPluginEvent. getPlugin()Constructors in top.focess.qq.api.event.plugin with parameters of type Plugin Constructor Description PluginEvent(Plugin plugin)Constructs a PluginEventPluginLoadEvent(Plugin plugin)Constructs a PluginLoadEventPluginUnloadEvent(Plugin plugin)Constructs a PluginUnloadEvent -
Uses of Plugin in top.focess.qq.api.exceptions
Constructor parameters in top.focess.qq.api.exceptions with type arguments of type Plugin Constructor Description PluginLoaderException(Class<? extends Plugin> c)Constructs a PluginLoaderExceptionPluginLoadException(Class<? extends Plugin> c, Exception e)Constructs a PluginLoadException -
Uses of Plugin in top.focess.qq.api.plugin
Subclasses of Plugin in top.focess.qq.api.plugin Modifier and Type Class Description classLazyPluginThis is lazy version of the plugin.Methods in top.focess.qq.api.plugin that return Plugin Modifier and Type Method Description static PluginPlugin. getPlugin(Class<? extends Plugin> plugin)Get Plugin instance by the class instancestatic PluginPlugin. getPlugin(String name)Get Plugin instance by the namestatic @Nullable PluginPlugin. thisPlugin()Method parameters in top.focess.qq.api.plugin with type arguments of type Plugin Modifier and Type Method Description static PluginPlugin. getPlugin(Class<? extends Plugin> plugin)Get Plugin instance by the class instance -
Uses of Plugin in top.focess.qq.api.schedule
Methods in top.focess.qq.api.schedule that return Plugin Modifier and Type Method Description PluginScheduler. getPlugin()Get the pluginPluginTask. getPlugin()Get the plugin it belongs toMethods in top.focess.qq.api.schedule with parameters of type Plugin Modifier and Type Method Description static voidSchedulers. close(Plugin plugin)Close all the schedulers belonging to the pluginstatic SchedulerSchedulers. newFocessScheduler(@NotNull Plugin plugin)New a FocessSchedulerstatic SchedulerSchedulers. newThreadPoolScheduler(@NotNull Plugin plugin, int poolSize)New a ThreadPoolScheduler -
Uses of Plugin in top.focess.qq.core.commands
Methods in top.focess.qq.core.commands with parameters of type Plugin Modifier and Type Method Description static booleanReloadCommand. reloadPlugin(Plugin plugin) -
Uses of Plugin in top.focess.qq.core.plugin
Fields in top.focess.qq.core.plugin with type parameters of type Plugin Modifier and Type Field Description static Map<Class<? extends Plugin>,Plugin>PluginClassLoader. CLASS_PLUGIN_MAPstatic Map<Class<? extends Plugin>,Plugin>PluginClassLoader. CLASS_PLUGIN_MAPstatic Map<String,Plugin>PluginClassLoader. NAME_PLUGIN_MAPstatic List<Plugin>PluginClassLoader. REGISTERED_PLUGINSMethods in top.focess.qq.core.plugin with type parameters of type Plugin Modifier and Type Method Description static <T extends Plugin>
TPluginClassLoader. getPlugin(Class<T> plugin)Get Plugin instance by the class instanceMethods in top.focess.qq.core.plugin that return Plugin Modifier and Type Method Description static @Nullable PluginPluginCoreClassLoader. getClassLoadedBy(Class<?> clazz)Get the plugin of the loaded classPluginPluginClassLoader. getPlugin()static @Nullable PluginPluginClassLoader. getPlugin(String name)Get Plugin instance by the nameMethods in top.focess.qq.core.plugin that return types with arguments of type Plugin Modifier and Type Method Description static @NotNull List<Plugin>PluginClassLoader. getPlugins()Get all plugins registeredMethods in top.focess.qq.core.plugin with parameters of type Plugin Modifier and Type Method Description static FilePluginClassLoader. disablePlugin(Plugin plugin)Used to disable pluginstatic voidPluginClassLoader. enablePlugin(Plugin plugin)Used to enable plugin -
Uses of Plugin in top.focess.qq.core.schedule
Methods in top.focess.qq.core.schedule that return Plugin Modifier and Type Method Description PluginFocessCallback. getPlugin()PluginFocessScheduler. getPlugin()PluginFocessTask. getPlugin()PluginThreadPoolScheduler. getPlugin()Constructors in top.focess.qq.core.schedule with parameters of type Plugin Constructor Description FocessScheduler(@NotNull Plugin plugin)ThreadPoolScheduler(Plugin plugin, int poolSize)
-