]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/support/deploy/SimpleHttpdApplication.java
Introduce org.argeo.slc.specs
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / support / deploy / SimpleHttpdApplication.java
1 package org.argeo.slc.support.deploy;
2
3 import java.io.File;
4 import java.net.URL;
5
6 import org.argeo.slc.core.build.Distribution;
7 import org.argeo.slc.core.deploy.DeploymentData;
8
9 public class SimpleHttpdApplication implements WebApplication {
10 private HttpdApplicationTargetData targetData;
11 private Distribution distribution;
12
13 public void setDistribution(Distribution distribution) {
14 this.distribution = distribution;
15 }
16
17 public URL getBaseUrl() {
18 return targetData.getTargetBaseUrl();
19 }
20
21 public File getRootLocation() {
22 return targetData.getTargetRootLocation();
23 }
24
25 public String getDeployedSystemId() {
26 // TODO Auto-generated method stub
27 return null;
28 }
29
30 public HttpdApplicationTargetData getTargetData() {
31 return targetData;
32 }
33
34 public void setTargetData(HttpdApplicationTargetData targetData) {
35 this.targetData = targetData;
36 }
37
38 public Distribution getDistribution() {
39 return distribution;
40 }
41
42 public DeploymentData getDeploymentData() {
43 // TODO Auto-generated method stub
44 return null;
45 }
46
47 }