View Javadoc

1   package org.kuali.common.deploy.monitoring;
2   
3   import org.kuali.common.deploy.Deployable;
4   import org.kuali.common.util.Assert;
5   
6   public class ServerAgent {
7   
8   	public ServerAgent(String appServerStartupOptions, Deployable controller, String baseDir, String logsDir) {
9   		Assert.noBlanks(appServerStartupOptions, baseDir, logsDir);
10  		Assert.noNulls(controller);
11  		this.appServerStartupOptions = appServerStartupOptions;
12  		this.controller = controller;
13  		this.baseDir = baseDir;
14  		this.logsDir = logsDir;
15  	}
16  
17  	private final String appServerStartupOptions;
18  	private final Deployable controller;
19  	private final String baseDir;
20  	private final String logsDir;
21  
22  	public String getAppServerStartupOptions() {
23  		return appServerStartupOptions;
24  	}
25  
26  	public Deployable getController() {
27  		return controller;
28  	}
29  
30  	public String getBaseDir() {
31  		return baseDir;
32  	}
33  
34  	public String getLogsDir() {
35  		return logsDir;
36  	}
37  
38  }