com.anaptecs.jeaf.workload.annotations.EndpointsGroup Maven / Gradle / Ivy
/**
* Copyright 2004 - 2020 anaptecs GmbH, Burgstr. 96, 72764 Reutlingen, Germany
*
* All rights reserved.
*/
package com.anaptecs.jeaf.workload.annotations;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
/**
* Annotation can be used to group a set of endpoints to configure their the workload.
*/
@Retention(RUNTIME)
public @interface EndpointsGroup {
/**
* List of endpoints that should be grouped.
*/
Resource[] resources() default {};
/**
* Instead of configuring endpoints with all their details it's also possible to group of endpoints by their URL or
* parts of them.
*/
String[] endpointURLs() default {};
}