-
Notifications
You must be signed in to change notification settings - Fork 24
/
ProjectsV2Item.java
84 lines (64 loc) · 1.78 KB
/
ProjectsV2Item.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package io.quarkiverse.githubapp.event;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.inject.Qualifier;
import org.kohsuke.github.GHEventPayload;
@Event(name = "projects_v2_item", payload = GHEventPayload.ProjectsV2Item.class)
@Target({ PARAMETER, TYPE })
@Retention(RUNTIME)
@Qualifier
public @interface ProjectsV2Item {
String value() default Actions.ALL;
@ProjectsV2Item(Archived.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Archived {
String NAME = Actions.ARCHIVED;
}
@ProjectsV2Item(Converted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Converted {
String NAME = Actions.CONVERTED;
}
@ProjectsV2Item(Created.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Created {
String NAME = Actions.CREATED;
}
@ProjectsV2Item(Deleted.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Deleted {
String NAME = Actions.DELETED;
}
@ProjectsV2Item(Edited.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Edited {
String NAME = Actions.EDITED;
}
@ProjectsV2Item(Reordered.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Reordered {
String NAME = Actions.REORDERED;
}
@ProjectsV2Item(Restored.NAME)
@Target(PARAMETER)
@Retention(RUNTIME)
@Qualifier
public @interface Restored {
String NAME = Actions.RESTORED;
}
}