All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anaptecs.jeaf.workload.annotations.EndpointsGroup Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
/**
 * 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 {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy