Annotation Interface Repository


@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Repository
Deprecated.
since 1.15.1 old plugin api
This type annotation can be used to mark repositories.
Since:
1.5
Author:
Nils Christian Ehmke, Andre van Hoorn
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    The list of possible properties for this repository.
    Deprecated.
    This field can contain an additional text to give an impression of the needed dependencies.
    Deprecated.
    The human-readable description of this repository type.
    Deprecated.
    The name which is used to identify this repository type.
    boolean
    Deprecated.
    This flag determines whether the annotated repository should only be used for programmatic purposes or not.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
    This constant can be used as a value to show that the component has no name.
  • Field Details

    • NO_NAME

      static final String NO_NAME
      Deprecated.
      This constant can be used as a value to show that the component has no name.
      See Also:
  • Element Details

    • programmaticOnly

      boolean programmaticOnly
      Deprecated.
      This flag determines whether the annotated repository should only be used for programmatic purposes or not. This can for example be used by tools to ignore specific repositories.
      Returns:
      true if a repository can be used only for programmatic reasons (what ever that is)
      Default:
      false
    • description

      String description
      Deprecated.
      The human-readable description of this repository type.
      Returns:
      The description for this repository type.
      Default:
      ""
    • dependencies

      String dependencies
      Deprecated.
      This field can contain an additional text to give an impression of the needed dependencies.
      Returns:
      The dependencies for the current repository as a human-readable description.
      Default:
      ""
    • name

      String name
      Deprecated.
      The name which is used to identify this repository type.
      Returns:
      The name of this repository type.
      Default:
      ""
    • configuration

      Property[] configuration
      Deprecated.
      The list of possible properties for this repository.
      Returns:
      A list of properties.
      Default:
      {}