summaryrefslogtreecommitdiff
path: root/src/com/nis/nmsclient/model/CommandPO.java
blob: 0644924afcaaed879f37d3d031b87abc9b99f4d2 (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
package com.nis.nmsclient.model;

public class CommandPO {
	/**
	 * ID
	 */
	private Long execId;
	/**
	 * 类型:4 命令执行,6 升级
	 */
	private long execType;
	/**
	 * 升级文件存放目录
	 */
	private String srcPath;
	/**
	 * 命令名称
	 */
	private String commandName;
	/**
	 * 命令参数
	 */
	private String commandParam;
	/**
	 * 执行状态:4下发任务(40 下发成功,41下发失败),5杀进程(50成功,51失败)、6备份、7更新(覆盖) 、8启动进程 
	 */
	private long execState;
	/**
	 * 恢复版本
	 */
	private Long execVersion;
	/**
	 * 是否周期任务
	 */
	private long isLoop;
	
	public Long getExecId() {
		return execId;
	}
	public void setExecId(Long execId) {
		this.execId = execId;
	}
	public long getExecType() {
		return execType;
	}
	public void setExecType(long execType) {
		this.execType = execType;
	}
	public String getSrcPath() {
		return srcPath;
	}
	public void setSrcPath(String srcPath) {
		this.srcPath = srcPath;
	}
	public String getCommandName() {
		return commandName;
	}
	public void setCommandName(String commandName) {
		this.commandName = commandName;
	}
	public String getCommandParam() {
		return commandParam;
	}
	public void setCommandParam(String commandParam) {
		this.commandParam = commandParam;
	}
	public long getExecState() {
		return execState;
	}
	public void setExecState(long execState) {
		this.execState = execState;
	}
	public Long getExecVersion() {
		return execVersion;
	}
	public void setExecVersion(Long execVersion) {
		this.execVersion = execVersion;
	}
	public long getIsLoop() {
		return isLoop;
	}
	public void setIsLoop(long isLoop) {
		this.isLoop = isLoop;
	}
	
}