]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/support/deploy/SimpleHttpdApplication.java
Download process log
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / support / deploy / SimpleHttpdApplication.java
1 /*
2 * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16
17 package org.argeo.slc.support.deploy;
18
19 import java.io.File;
20 import java.net.URL;
21
22 import org.argeo.slc.build.Distribution;
23 import org.argeo.slc.deploy.DeploymentData;
24
25 public class SimpleHttpdApplication implements WebApplication {
26 private HttpdApplicationTargetData targetData;
27 private Distribution distribution;
28
29 public void setDistribution(Distribution distribution) {
30 this.distribution = distribution;
31 }
32
33 public URL getBaseUrl() {
34 return targetData.getTargetBaseUrl();
35 }
36
37 public File getRootLocation() {
38 return targetData.getTargetRootLocation();
39 }
40
41 public String getDeployedSystemId() {
42 // TODO Auto-generated method stub
43 return null;
44 }
45
46 public HttpdApplicationTargetData getTargetData() {
47 return targetData;
48 }
49
50 public void setTargetData(HttpdApplicationTargetData targetData) {
51 this.targetData = targetData;
52 }
53
54 public Distribution getDistribution() {
55 return distribution;
56 }
57
58 public DeploymentData getDeploymentData() {
59 // TODO Auto-generated method stub
60 return null;
61 }
62
63 }