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

net.thucydides.core.annotations.NamedUrl Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package net.thucydides.core.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Define the URLs that a given Page Object works with.
 * A Page Object is designed to work with a particular page. This annotation lets
 * you define a URL or a set of URLs that work with a particular page.
 * 
 * @author johnsmart
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface NamedUrl {
    String name();
    String url();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy