Module watamebot

Annotation Interface PluginProperties


@Deprecated(forRemoval=true) @Target(TYPE) @Retention(RUNTIME) public @interface PluginProperties
Deprecated, for removal: This API element is subject to removal in a future version.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the description of the plugin
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the of the plugin
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the version of this plugin.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check whether this plugin provides commands/interactions.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check whether this plugin requires access to the database connection.
  • Element Details

    • name

      String name
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the of the plugin
      Returns:
      The name of this plugin
    • description

      String description
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the description of the plugin
      Returns:
      The description of this plugin
    • version

      String version
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the version of this plugin. This is parsed by Runtime.Version.parse(String).
      Returns:
      The version of this plugin.
    • providesCommands

      boolean providesCommands
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check whether this plugin provides commands/interactions.
      Returns:
      If this plugin provides command data
      Default:
      false
    • requiresDatabaseAccess

      boolean requiresDatabaseAccess
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check whether this plugin requires access to the database connection.
      Returns:
      If this plugin uses the database
      Default:
      false