@ResourceLock(value = SYSTEM_PROPERTIES, mode = READ_WRITE) @SystemProperty(name = "allure.link.custom.pattern", value = "https: @SystemProperty(name = "allure.link.issue.pattern", value = "https: @Test void shouldExtractCustomLinks() { assertThat(getLinks(WithCustomLink.class)) .extracting(io.qameta.allure.model.Link::getUrl) .containsOnly( "https: "https: "https: ); }
public static Set<Link> getLinks(final AnnotatedElement annotatedElement) { return getLinks(annotatedElement.getDeclaredAnnotations()); }
AnnotationUtils { public static Set<Link> getLinks(final AnnotatedElement annotatedElement) { return getLinks(annotatedElement.getDeclaredAnnotations()); } }
AnnotationUtils { public static Set<Link> getLinks(final AnnotatedElement annotatedElement) { return getLinks(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); }
AnnotationUtils { public static Set<Link> getLinks(final AnnotatedElement annotatedElement) { return getLinks(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); static Set<Link> getLinks(final AnnotatedElement annotatedElement); static Set<Link> getLinks(final Annotation... annotations); static Set<Link> getLinks(final Collection<Annotation> annotations); static Set<Label> getLabels(final AnnotatedElement annotatedElement); static Set<Label> getLabels(final Annotation... annotations); static Set<Label> getLabels(final Collection<Annotation> annotations); }
AnnotationUtils { public static Set<Link> getLinks(final AnnotatedElement annotatedElement) { return getLinks(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); static Set<Link> getLinks(final AnnotatedElement annotatedElement); static Set<Link> getLinks(final Annotation... annotations); static Set<Link> getLinks(final Collection<Annotation> annotations); static Set<Label> getLabels(final AnnotatedElement annotatedElement); static Set<Label> getLabels(final Annotation... annotations); static Set<Label> getLabels(final Collection<Annotation> annotations);  }