This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nms-nmsserver/src/com/nms/server/bean/Task6.java
2018-09-27 16:17:06 +08:00

182 lines
3.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.nms.server.bean;
/**
* 任务实体类6 升级
*
*/
public class Task6 {
/**
* 任务ID
*/
private Long taskId;
/**
* 任务类型1 文件推送4 命令执行5 shell注册6 升级
*/
private long taskType;
/**
* 命令类型4 Agent原生支持命令
*/
private long commandType;
/**
* 命令名称
*/
private String commandName;
/**
* 命令参数
*/
private String commandParam;
/**
* 执行状态4下发任务40 下发成功41下发失败5杀进程50成功51失败、6备份、7更新覆盖 、8启动进程
*/
private Long state;
/**
* 当前版本
*/
private Long version;
/**
* 节点组Id(Agent无用)
*/
private Long nodeListId;
private String nodeIpsId;
// private Long nodeListId1;
private String nodeGroupsId;
/**
* 升级时间
*/
private Long upgradeTime;
/**
* 推送文件名
*/
private String fileName;
/**
* 推送目的地
*/
private String destPath;
/**
* 推送文件的MD5值
*/
private String md5Value;
/**
* 全局权限用户名(未来)
*/
private String username;
/**
* 全局权限密码(未来 约定加密方式)
*/
private String userpwd;
/**
* 重新执行原任务ID
*/
private Long oldTaskId;
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
public long getTaskType() {
return taskType;
}
public void setTaskType(long taskType) {
this.taskType = taskType;
}
public long getCommandType() {
return commandType;
}
public void setCommandType(long commandType) {
this.commandType = commandType;
}
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 getState() {
return state;
}
public void setState(Long state) {
this.state = state;
}
public Long getVersion() {
return version;
}
public void setVersion(Long version) {
this.version = version;
}
public Long getNodeListId() {
return nodeListId;
}
public void setNodeListId(Long nodeListId) {
this.nodeListId = nodeListId;
}
public Long getUpgradeTime() {
return upgradeTime;
}
public void setUpgradeTime(Long upgradeTime) {
this.upgradeTime = upgradeTime;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getDestPath() {
return destPath;
}
public void setDestPath(String destPath) {
this.destPath = destPath;
}
public String getMd5Value() {
return md5Value;
}
public void setMd5Value(String md5Value) {
this.md5Value = md5Value;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getUserpwd() {
return userpwd;
}
public void setUserpwd(String userpwd) {
this.userpwd = userpwd;
}
public Long getOldTaskId() {
return oldTaskId;
}
public void setOldTaskId(Long oldTaskId) {
this.oldTaskId = oldTaskId;
}
public String getNodeGroupsId() {
return nodeGroupsId;
}
public void setNodeGroupsId(String groupsId) {
this.nodeGroupsId = groupsId;
}
// public Long getNodeListId1() {
// return nodeListId1;
// }
// public void setNodeListId1(Long nodeListId1) {
// this.nodeListId1 = nodeListId1;
// }
//
public String getNodeIpsId() {
return nodeIpsId;
}
public void setNodeIpsId(String nodeIpsId) {
this.nodeIpsId = nodeIpsId;
}
}