org.ehoffman.test.RequiresServerAvailable Maven / Gradle / Ivy
package org.ehoffman.test;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.aopalliance.intercept.MethodInterceptor;
import org.ehoffman.test.aspects.RequiresServerAvailabilityAdvice;
/**
* Use this to mark a test as requiring access to the selected servers by Strings that must be convertible to a URL.
*
* @author rex
*/
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD })
public @interface RequiresServerAvailable {
String[] serversUrls();
Class extends MethodInterceptor> IMPLEMENTED_BY() default RequiresServerAvailabilityAdvice.class;
}