001
014
015 package com.liferay.portal.kernel.deploy.auto.context;
016
017 import com.liferay.portal.kernel.plugin.PluginPackage;
018
019 import java.io.File;
020
021
024 public class AutoDeploymentContext {
025
026 public String getAppServerType() {
027 return _appServerType;
028 }
029
030 public String getContext() {
031 return _context;
032 }
033
034 public File getDeployDir() {
035 return new File(_destDir, _context);
036 }
037
038 public String getDestDir() {
039 return _destDir;
040 }
041
042 public File getFile() {
043 return _file;
044 }
045
046 public PluginPackage getPluginPackage() {
047 return _pluginPackage;
048 }
049
050 public void setAppServerType(String appServerType) {
051 _appServerType = appServerType;
052 }
053
054 public void setContext(String context) {
055 _context = context;
056 }
057
058 public void setDestDir(String destDir) {
059 _destDir = destDir;
060 }
061
062 public void setFile(File file) {
063 _file = file;
064 }
065
066 public void setPluginPackage(PluginPackage pluginPackage) {
067 _pluginPackage = pluginPackage;
068 }
069
070 private String _appServerType;
071 private String _context;
072 private String _destDir;
073 private File _file;
074 private PluginPackage _pluginPackage;
075
076 }