summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/annotations/Seed.java
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2015-05-30 02:00:43 +1000
committerCarlo Zancanaro <carlo@zancanaro.id.au>2015-05-30 02:00:43 +1000
commitd29e1d49116c66adab72b1c1bb49c1fa3d4f8140 (patch)
tree17363b0d5b939c217cc95e4c57326e01c45d121e /src/main/java/au/id/zancanaro/annotations/Seed.java
Initial commit: only works for plain int typed arguments
Diffstat (limited to 'src/main/java/au/id/zancanaro/annotations/Seed.java')
-rw-r--r--src/main/java/au/id/zancanaro/annotations/Seed.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/au/id/zancanaro/annotations/Seed.java b/src/main/java/au/id/zancanaro/annotations/Seed.java
new file mode 100644
index 0000000..99f00ca
--- /dev/null
+++ b/src/main/java/au/id/zancanaro/annotations/Seed.java
@@ -0,0 +1,12 @@
+package au.id.zancanaro.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Seed {
+ long value();
+}