ru.yandex.qatools.camelot.api.annotations.PluginStorage 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;
/**
* Indicates the field for the custom plugin data to be stored
*
* @author Ilya Sadykov (mailto: [email protected])
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PluginStorage {
/**
* 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 "";
}