package com.nms.server.bean;


/**
 * 任务实体类：4 命令执行
 * 
 */
public class Task4 {
	/**
	 * 任务ID
	 */
	private Long taskId;
	/**
	 * 任务类型：1 文件推送，2 非流文本数据获取，3 流文本数据获取，4 命令执行，5 shell注册
	 */
	private long taskType;
	/**
	 * 命令类型：1 Agent原生支持命令，2 脚本，3 shell命令
	 */
	private long commandType;
	/**
	 * 命令名称
	 */
	private String commandName;
	/**
	 * 命令参数
	 */
	private String commandParam;
	/**
	 * 脚本路径
	 */
	private String scriptPath;
	/**
	 * 执行状态：4下发任务（40 下发成功，41下发失败），5杀进程（50成功，51失败）、6备份、7更新（覆盖） 、8启动进程 
	 */
	private long state;
	/**
	 * 执行状态：0 周期执行，5撤销执行
	 */
	private Long missionState;
	/**
	 * 如果是升级，旧的版本
	 */
	private Long version;
	/**
	 * 节点组Id
	 */
	private Long nodeListId;
	private String nodeIpsId;
	private String nodeGroupsId;
	/**
	 * 执行时间
	 */
	private Long startTime;
	/**
	 * 结束时间
	 */
	private Long endTime;
	/**
	 * 是否循环任务
	 */
	private Long isLoop;
	/**
	 * 如果是循环任务，循环周期
	 */
	private Long loopDelay;
	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 String getScriptPath() {
		return scriptPath;
	}
	public void setScriptPath(String scriptPath) {
		this.scriptPath = scriptPath;
	}
	public long getState() {
		return state;
	}
	public void setState(long state) {
		this.state = state;
	}
	public Long getMissionState() {
		return missionState;
	}
	public void setMissionState(Long missionState) {
		this.missionState = missionState;
	}
	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 String getNodeIpsId() {
		return nodeIpsId;
	}
	public void setNodeIpsId(String nodeIpsId) {
		this.nodeIpsId = nodeIpsId;
	}
	public String getNodeGroupsId() {
		return nodeGroupsId;
	}
	public void setNodeGroupsId(String nodeGroupsId) {
		this.nodeGroupsId = nodeGroupsId;
	}
	public Long getStartTime() {
		return startTime;
	}
	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}
	public Long getEndTime() {
		return endTime;
	}
	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}
	public Long getIsLoop() {
		return isLoop;
	}
	public void setIsLoop(Long isLoop) {
		this.isLoop = isLoop;
	}
	public Long getLoopDelay() {
		return loopDelay;
	}
	public void setLoopDelay(Long loopDelay) {
		this.loopDelay = loopDelay;
	}
	
	
}
