PushEvent.java
1.22 KB
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
package com.yoho.error.event;
/**
* 推送事件
*
* @author hugufei
*
*/
public class PushEvent extends CommonEvent {
private static final long serialVersionUID = 5805800371910913724L;
private String project;// 项目名称
private String type;// 事件类型
private String taskId;// 任务id
private String content;// 上报的内容
private String paramStr;// 具体参数
public PushEvent(String name, String project, String type, String taskId, String content, String paramStr) {
super(name);
this.project = project;
this.type = type;
this.taskId = taskId;
this.content = content;
this.paramStr = paramStr;
}
public void setProject(String project) {
this.project = project;
}
public void setType(String type) {
this.type = type;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public void setParamStr(String paramStr) {
this.paramStr = paramStr;
}
public String getProject() {
return project;
}
public String getType() {
return type;
}
public String getTaskId() {
return taskId;
}
public String getParamStr() {
return paramStr;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}