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-nmsclient/src/com/nis/nmsclient/model/ParamCmdExec.java
2018-09-27 16:11:54 +08:00

112 lines
2.4 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.nis.nmsclient.model;
/**
* 命令执行(启动命令)的参数实体类
* @date Mar 23, 2012
* @author zhenzhen
* @version
*/
public class ParamCmdExec {
/**
* 执行文件或命令
*/
private String execCmd;
/**
* 执行文件或命令的参数序列
*/
private String[] execParams;
/**
* 该命令是否强制执行Y是N否
*/
private String forceExec;
/**
* 常驻内存标识: Y是N否
*/
private String residentFlag;
/**
* 存放执行结果标识的文件:1、常驻内存的写入PID2、非常驻的写执行结果结果标识0 成功 1 失败)|结果描述
*/
private String execResult;
/**
* 回传标识: Y是N否
*/
private String returnFlag;
/**
* 回传文件或目录路径
*/
private String returnPath;
/**
* 最终结果获取最大等待时间(单位:秒)
*/
private String maxWaitTime;
/**
* 执行文件或命令的用户名只针对Linux有效
*/
private String username;
/**
* 执行用户的密码只针对Linux有效
*/
private String param1;
public String getExecCmd() {
return execCmd;
}
public void setExecCmd(String execCmd) {
this.execCmd = execCmd;
}
public String getForceExec() {
return forceExec;
}
public void setForceExec(String forceExec) {
this.forceExec = forceExec;
}
public String getResidentFlag() {
return residentFlag;
}
public void setResidentFlag(String residentFlag) {
this.residentFlag = residentFlag;
}
public String getExecResult() {
return execResult;
}
public void setExecResult(String execResult) {
this.execResult = execResult;
}
public String getReturnFlag() {
return returnFlag;
}
public void setReturnFlag(String returnFlag) {
this.returnFlag = returnFlag;
}
public String getReturnPath() {
return returnPath;
}
public void setReturnPath(String returnPath) {
this.returnPath = returnPath;
}
public String getMaxWaitTime() {
return maxWaitTime;
}
public void setMaxWaitTime(String maxWaitTime) {
this.maxWaitTime = maxWaitTime;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String[] getExecParams() {
return execParams;
}
public void setExecParams(String[] execParams) {
this.execParams = execParams;
}
public String getParam1() {
return param1;
}
public void setParam1(String param1) {
this.param1 = param1;
}
}