2 * Copyright (C) 2007-2012 Argeo GmbH
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org
.argeo
.slc
.support
.deploy
;
21 import org
.argeo
.slc
.build
.Distribution
;
22 import org
.argeo
.slc
.deploy
.DeploymentData
;
24 public class SimpleHttpdApplication
implements WebApplication
{
25 private HttpdApplicationTargetData targetData
;
26 private Distribution distribution
;
28 public void setDistribution(Distribution distribution
) {
29 this.distribution
= distribution
;
32 public URL
getBaseUrl() {
33 return targetData
.getTargetBaseUrl();
36 public File
getRootLocation() {
37 return targetData
.getTargetRootLocation();
40 public String
getDeployedSystemId() {
41 // TODO Auto-generated method stub
45 public HttpdApplicationTargetData
getTargetData() {
49 public void setTargetData(HttpdApplicationTargetData targetData
) {
50 this.targetData
= targetData
;
53 public Distribution
getDistribution() {
57 public DeploymentData
getDeploymentData() {
58 // TODO Auto-generated method stub