ru.yandex.qatools.camelot.api.annotations.Plugin Maven / Gradle / Ivy
package ru.yandex.qatools.camelot.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation which is used for injection of PluginInterop object
*
* @author Ilya Sadykov (mailto: [email protected])
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Plugin {
/**
* Indicates the class of the plugin to be injected
*/
Class value() default Object.class;
/**
* Indicates the id of the plugin to be injected
*/
String id() default "";
}