Annotation Type PluginType


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface PluginType
    Represent this class is a Plugin. It means that this class must extend Plugin class.
    • Element Detail

      • depend

        @Deprecated
        String[] depend
        Deprecated.
        Set the dependent plugins for the plugin
        Returns:
        the dependent plugins or {} if there is no dependent
        Default:
        {}
      • name

        @Deprecated
        String name
        Deprecated.
        Set the name of this plugin
        Returns:
        the name of the plugin
        Default:
        ""
      • author

        @Deprecated
        String author
        Deprecated.
        Set the author of this plugin
        Returns:
        the author of the plugin
        Default:
        "MidCoard"
      • version

        @Deprecated
        String version
        Deprecated.
        Set the version of this plugin
        Returns:
        the version of the plugin
        Default:
        "1.0.0"