Annotation Type 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
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringNO_NAMEDeprecated.This constant can be used as a value to show that the component has no name. -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Property[]configurationDeprecated.The list of possible properties for this repository.java.lang.StringdependenciesDeprecated.This field can contain an additional text to give an impression of the needed dependencies.java.lang.StringdescriptionDeprecated.The human-readable description of this repository type.java.lang.StringnameDeprecated.The name which is used to identify this repository type.booleanprogrammaticOnlyDeprecated.This flag determines whether the annotated repository should only be used for programmatic purposes or not.
-
Field Details
-
NO_NAME
static final java.lang.String NO_NAMEDeprecated.This constant can be used as a value to show that the component has no name.
-
-
Element Details
-
programmaticOnly
boolean programmaticOnlyDeprecated.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
java.lang.String descriptionDeprecated.The human-readable description of this repository type.- Returns:
- The description for this repository type.
- Default:
- ""
-
dependencies
java.lang.String dependenciesDeprecated.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
java.lang.String nameDeprecated.The name which is used to identify this repository type.- Returns:
- The name of this repository type.
- Default:
- ""
-
configuration
Property[] configurationDeprecated.The list of possible properties for this repository.- Returns:
- A list of properties.
- Default:
- {}
-