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.String
NO_NAME
Deprecated.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[]
configuration
Deprecated.The list of possible properties for this repository.java.lang.String
dependencies
Deprecated.This field can contain an additional text to give an impression of the needed dependencies.java.lang.String
description
Deprecated.The human-readable description of this repository type.java.lang.String
name
Deprecated.The name which is used to identify this repository type.boolean
programmaticOnly
Deprecated.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:
- {}
-