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

br.eti.clairton.migrator.DataSet Maven / Gradle / Ivy

There is a newer version: 1.6.4
Show newest version
package br.eti.clairton.migrator;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.reflect.Array;

import javax.enterprise.inject.Default;
import javax.inject.Qualifier;
import javax.sql.DataSource;

/**
 * Annotação para configurar as fixtures que seram utilizadas no test.
 * 
 * @author Clairton Rodrigo Heinzen [email protected]
 */
@Retention(RUNTIME)
@Target({ TYPE, METHOD })
@Inherited
@Documented
public @interface DataSet {
	/**
	 * Arrays de string com o nome dos arquivos. O nome deve ser com o diretorio
	 * completo(exemplo: src/test/resources/datasets/aplicacoes.csv).
	 * 
	 * @return {@link Array}
	 */
	String[] value() default {};

	/**
	 * Qualifier do {@link DataSource}.
	 * 
	 * @return {@link Qualifier}
	 */
	Class qualifier() default Default.class;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy