blob: e1495eddb5ee539fe8b8566f091665b393584641 (
plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
package com.nis.nmsclient.thread.alarm;
public class AlarmPO {
/**
* 监测ID
*/
private long id;
/**
* 监测类型
*/
private String type;
/**
* 监测设置名称
*/
private String procIden;
/**
* 时间间隔(单位:分钟)
*/
private long checkGap;
/**
* 是否是进程
*/
private boolean isproc;
/**
* 进程路径与名称
*/
private String proc;
/**
* PID文件
*/
private String pidFileStr;
/**
* 进程搜索关键字
*/
private String processSearchKeyCode;
/**
* 控制启动时间
*/
private Long controlStartTime;
/**
* 是否系统启动(NMSAgent启动/第三方自己启动);默认0自启动;1NMSAgent启动
*/
private String IsControlStart;
public AlarmPO() {
super();
}
public AlarmPO(long id, String type, String procIden, long checkGap,
boolean isproc, String proc, String pidFileStr,
Long controlStartTime, String processSearchKeyCode, String IsControlStart) {
super();
this.id = id;
this.type = type;
this.procIden = procIden;
this.checkGap = checkGap;
this.isproc = isproc;
this.proc = proc;
this.pidFileStr = pidFileStr;
this.controlStartTime = controlStartTime;
this.processSearchKeyCode = processSearchKeyCode;
this.IsControlStart = IsControlStart;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getProcIden() {
return procIden;
}
public void setProcIden(String procIden) {
this.procIden = procIden;
}
public long getCheckGap() {
return checkGap;
}
public void setCheckGap(long checkGap) {
this.checkGap = checkGap;
}
public boolean isIsproc() {
return isproc;
}
public void setIsproc(boolean isproc) {
this.isproc = isproc;
}
public String getProc() {
return proc;
}
public void setProc(String proc) {
this.proc = proc;
}
public String getPidFileStr() {
return pidFileStr;
}
public void setPidFileStr(String pidFileStr) {
this.pidFileStr = pidFileStr;
}
public Long getControlStartTime() {
return controlStartTime;
}
public void setControlStartTime(Long controlStartTime) {
this.controlStartTime = controlStartTime;
}
public String getProcessSearchKeyCode() {
return processSearchKeyCode;
}
public void setProcessSearchKeyCode(String processSearchKeyCode) {
this.processSearchKeyCode = processSearchKeyCode;
}
public String getIsControlStart() {
return IsControlStart;
}
public void setIsControlStart(String isControlStart) {
IsControlStart = isControlStart;
}
}
|