package com.leanwo.management.model; import org.apache.commons.exec.ExecuteWatchdog; /** * 应用程序实体类. * * @author YangZhiJie */ public class ApplicationSetting { /** * 应用程序名称. */ private String name; /** * 安装路径. */ private String installPath; /** * 应用程序状态. */ private String status; /** * 启动程序BAT文件路径. */ private String startBatFile; /** * 停止程序BAT文件路径. */ private String stopBatFile; /** The execute watchdog. */ private ExecuteWatchdog executeWatchdog; /** 监控地址. */ private String monitorUrl; /** token. */ private String token; /** * Gets the token. * * @return the token */ public String getToken() { return token; } /** * Sets the token. * * @param token the new token */ public void setToken(String token) { this.token = token; } /** * Gets the 监控地址. * * @return the 监控地址 */ public String getMonitorUrl() { return monitorUrl; } /** * Sets the 监控地址. * * @param monitorUrl the new 监控地址 */ public void setMonitorUrl(String monitorUrl) { this.monitorUrl = monitorUrl; } /** * Gets the 应用程序名称. * * @return the 应用程序名称 */ public String getName() { return name; } /** * Sets the 应用程序名称. * * @param name the new 应用程序名称 */ public void setName(String name) { this.name = name; } /** * Gets the 应用程序状态. * * @return the 应用程序状态 */ public String getStatus() { return status; } /** * Sets the 应用程序状态. * * @param status the new 应用程序状态 */ public void setStatus(String status) { this.status = status; } /** * Gets the 启动程序BAT文件路径. * * @return the 启动程序BAT文件路径 */ public String getStartBatFile() { return startBatFile; } /** * Sets the 启动程序BAT文件路径. * * @param startBatFile the new 启动程序BAT文件路径 */ public void setStartBatFile(String startBatFile) { this.startBatFile = startBatFile; } /** * Gets the 停止程序BAT文件路径. * * @return the 停止程序BAT文件路径 */ public String getStopBatFile() { return stopBatFile; } /** * Sets the 停止程序BAT文件路径. * * @param stopBatFile the new 停止程序BAT文件路径 */ public void setStopBatFile(String stopBatFile) { this.stopBatFile = stopBatFile; } /** * Gets the execute watchdog. * * @return the execute watchdog */ public ExecuteWatchdog getExecuteWatchdog() { return executeWatchdog; } /** * Sets the execute watchdog. * * @param executeWatchdog the new execute watchdog */ public void setExecuteWatchdog(ExecuteWatchdog executeWatchdog) { this.executeWatchdog = executeWatchdog; } /** * Gets the 安装路径. * * @return the 安装路径 */ public String getInstallPath() { return installPath; } /** * Sets the 安装路径. * * @param installPath the new 安装路径 */ public void setInstallPath(String installPath) { this.installPath = installPath; } }