public final class AnnotationUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<io.qameta.allure.model.Label> |
getLabels(java.lang.reflect.AnnotatedElement annotatedElement)
Returns labels created from Allure meta annotations specified on annotated element.
|
static java.util.Set<io.qameta.allure.model.Label> |
getLabels(java.lang.annotation.Annotation... annotations)
Shortcut for
getLabels(Collection). |
static java.util.Set<io.qameta.allure.model.Label> |
getLabels(java.util.Collection<java.lang.annotation.Annotation> annotations)
Returns labels from given annotations.
|
static java.util.Set<io.qameta.allure.model.Link> |
getLinks(java.lang.reflect.AnnotatedElement annotatedElement)
Returns links created from Allure meta annotations specified on annotated element.
|
static java.util.Set<io.qameta.allure.model.Link> |
getLinks(java.lang.annotation.Annotation... annotations)
Shortcut for
getLinks(Collection). |
static java.util.Set<io.qameta.allure.model.Link> |
getLinks(java.util.Collection<java.lang.annotation.Annotation> annotations)
Returns links from given annotations.
|
public static java.util.Set<io.qameta.allure.model.Link> getLinks(java.lang.reflect.AnnotatedElement annotatedElement)
annotatedElement - the element to search annotations on.public static java.util.Set<io.qameta.allure.model.Link> getLinks(java.lang.annotation.Annotation... annotations)
getLinks(Collection).annotations - annotations to analyse.public static java.util.Set<io.qameta.allure.model.Link> getLinks(java.util.Collection<java.lang.annotation.Annotation> annotations)
annotations - annotations to analyse.public static java.util.Set<io.qameta.allure.model.Label> getLabels(java.lang.reflect.AnnotatedElement annotatedElement)
getLinks(Annotation...)annotatedElement - the element to search annotations on.public static java.util.Set<io.qameta.allure.model.Label> getLabels(java.lang.annotation.Annotation... annotations)
getLabels(Collection).annotations - annotations to analyse.public static java.util.Set<io.qameta.allure.model.Label> getLabels(java.util.Collection<java.lang.annotation.Annotation> annotations)
annotations - annotations to analyse.