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

org.ehoffman.test.RequiresServerAvailable Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
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 IMPLEMENTED_BY() default RequiresServerAvailabilityAdvice.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy