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.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String author
      Set the author of this plugin
      String[] depend
      Set the dependent plugins for the plugin
      String name
      Set the name of this plugin
      String version
      Set the version of this plugin
    • Element Detail

      • depend

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

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

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

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