Skip to content

Commit 4789c81

Browse files
Url 插件注解
1 parent 577b1a1 commit 4789c81

File tree

1 file changed

+7
-0
lines changed
  • src/main/java/com/dtstack/logstash/annotation

1 file changed

+7
-0
lines changed

src/main/java/com/dtstack/logstash/annotation/Url.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
package com.dtstack.logstash.annotation;
22

3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
38

49
/**
510
*
@@ -9,6 +14,8 @@
914
* @author sishu.yss
1015
*
1116
*/
17+
@Target({ElementType.FIELD})
18+
@Retention(RetentionPolicy.RUNTIME)
1219
public @interface Url {
1320

1421
}

0 commit comments

Comments
 (0)