aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/yolean/chain/After.java
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-07-13 11:38:09 +0200
committergjoranv <gv@verizonmedia.com>2022-07-13 11:39:09 +0200
commit3ad0117c5ec96bb3d32495a222409df074cfd7d9 (patch)
tree3f2d0024cbf719b8cd38365016e1dd49754b5a48 /vespajlib/src/main/java/com/yahoo/yolean/chain/After.java
parent0781a0b3ce6b7433f442d3a1bc3097272971f0ba (diff)
Move yolean code into vespajlib.
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/yolean/chain/After.java')
-rw-r--r--vespajlib/src/main/java/com/yahoo/yolean/chain/After.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/yolean/chain/After.java b/vespajlib/src/main/java/com/yahoo/yolean/chain/After.java
new file mode 100644
index 00000000000..a02408bb616
--- /dev/null
+++ b/vespajlib/src/main/java/com/yahoo/yolean/chain/After.java
@@ -0,0 +1,23 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.yolean.chain;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The component that is annotated with this must be placed later than the components or phases providing names
+ * contained in the given list.
+ *
+ * @author Tony Vaagenes
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE)
+@Inherited
+public @interface After {
+
+ String[] value() default { };
+
+}