001package de.cuioss.test.generator.junit;
002
003import static java.lang.annotation.ElementType.METHOD;
004import static java.lang.annotation.ElementType.TYPE;
005import static java.lang.annotation.RetentionPolicy.RUNTIME;
006
007import java.lang.annotation.Retention;
008import java.lang.annotation.Target;
009
010/**
011 * This annotation is to be used in the context of {@link EnableGeneratorController}.
012 * It explicitly sets the seed for the generators.
013 *
014 * @author Oliver Wolff
015 *
016 */
017@Retention(RUNTIME)
018@Target({ TYPE, METHOD })
019public @interface GeneratorSeed {
020
021    /**
022     * @return the seed for the generators
023     */
024    long value();
025}