Annotation Interface ConditionalOnMissingPlugin


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface ConditionalOnMissingPlugin
Activates the annotated component only if none of the given plugins are installed.

Add the plugins to softdepend in your plugin.yml so they are loaded before yours. Supported on the same elements as Conditional.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The names of the plugins that must not be installed.
  • Element Details

    • value

      String[] value
      The names of the plugins that must not be installed.