001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.pluto.util.install;
018:
019: import org.apache.pluto.util.install.ServerConfig;
020:
021: import java.util.List;
022: import java.util.Map;
023: import java.io.File;
024:
025: /**
026: * The installation configuration used to install Pluto to servlet container.
027: */
028: public class InstallationConfig {
029:
030: /**
031: * A list of depdencies that are shared amoungst web applications.
032: */
033: private List sharedDependencies;
034:
035: /**
036: * A list of dependencies are are shared amoungst web applications.
037: */
038: private List endorsedDependencies;
039:
040: /**
041: * A list of war files which are to be considered portal dependencies.
042: */
043: private Map portletApplications;
044:
045: /**
046: * The location of the portal application being installed.
047: */
048: private File portalApplication;
049:
050: /**
051: * The installation directory.
052: */
053: private File installationDirectory;
054:
055: private String portalContextPath;
056:
057: private ServerConfig serverConfig;
058:
059: public List getSharedDependencies() {
060: return sharedDependencies;
061: }
062:
063: public void setSharedDependencies(List sharedDependencies) {
064: this .sharedDependencies = sharedDependencies;
065: }
066:
067: public List getEndorsedDependencies() {
068: return endorsedDependencies;
069: }
070:
071: public void setEndorsedDependencies(List endorsedDependencies) {
072: this .endorsedDependencies = endorsedDependencies;
073: }
074:
075: public Map getPortletApplications() {
076: return portletApplications;
077: }
078:
079: public void setPortletApplications(Map portletApplications) {
080: this .portletApplications = portletApplications;
081: }
082:
083: public File getPortalApplication() {
084: return portalApplication;
085: }
086:
087: public void setPortalApplication(File portalApplication) {
088: this .portalApplication = portalApplication;
089: }
090:
091: public File getInstallationDirectory() {
092: return installationDirectory;
093: }
094:
095: public void setInstallationDirectory(File installationDirectory) {
096: this .installationDirectory = installationDirectory;
097: }
098:
099: public String getPortalContextPath() {
100: return portalContextPath;
101: }
102:
103: public void setPortalContextPath(String portalContextPath) {
104: this .portalContextPath = portalContextPath;
105: }
106:
107: public ServerConfig getServerConfig() {
108: return serverConfig;
109: }
110:
111: public void setServerConfig(ServerConfig serverConfig) {
112: this.serverConfig = serverConfig;
113: }
114:
115: }
|