Package io.qameta.allure
Annotation Interface LinkAnnotation
@Documented
@Inherited
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
@Repeatable(LinkAnnotations.class)
public @interface LinkAnnotation
Marker annotation. Annotations marked by this annotation will be discovered
by Allure and added to test results as a link.
- See Also:
-
Optional Element Summary
Optional Elements -
Field Summary
Fields
-
Field Details
-
DEFAULT_VALUE
- See Also:
-
-
Element Details
-
value
String valueThe value of link. In not specified will take value fromvalue()method of target annotation.- Returns:
- the value of the link to add.
- Default:
"$$$$$$$$__value__$$$$$$$$"
-
type
String typeThis type is used for create an icon for link. Also there is few reserved types such as issue and tms.- Returns:
- the link type.
- Default:
"custom"
-
url
String urlUrl for link. By default will search for system property `allure.link.{type}.pattern`, and use it to generate url.- Returns:
- the link url.
- Default:
""
-