| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- 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;
- }
- }
|