Annotation Interface Dependency


@Retention(RUNTIME) @Target({}) public @interface Dependency
Plugin Dependency Annotation
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the Dependency
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Maximum allowed version of the Dependency
    Minimum required version of the Dependency
    boolean
    Whether the Dependency is required
  • Element Details

    • name

      String name
      Name of the Dependency
      Returns:
      Dependency Name
    • minVersion

      String minVersion
      Minimum required version of the Dependency
      Returns:
      Minimum required version
      Default:
      ""
    • maxVersion

      String maxVersion
      Maximum allowed version of the Dependency
      Returns:
      Maximum allowed version
      Default:
      ""
    • required

      boolean required
      Whether the Dependency is required
      Returns:
      Required Dependency Status
      Default:
      true