1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.argeo.slc.support.deploy;
17
18 import java.io.File;
19 import java.net.URL;
20
21 import org.argeo.slc.build.Distribution;
22 import org.argeo.slc.deploy.DeploymentData;
23
24 public class SimpleHttpdApplication implements WebApplication {
25 private HttpdApplicationTargetData targetData;
26 private Distribution distribution;
27
28 public void setDistribution(Distribution distribution) {
29 this.distribution = distribution;
30 }
31
32 public URL getBaseUrl() {
33 return targetData.getTargetBaseUrl();
34 }
35
36 public File getRootLocation() {
37 return targetData.getTargetRootLocation();
38 }
39
40 public String getDeployedSystemId() {
41
42 return null;
43 }
44
45 public HttpdApplicationTargetData getTargetData() {
46 return targetData;
47 }
48
49 public void setTargetData(HttpdApplicationTargetData targetData) {
50 this.targetData = targetData;
51 }
52
53 public Distribution getDistribution() {
54 return distribution;
55 }
56
57 public DeploymentData getDeploymentData() {
58
59 return null;
60 }
61
62 }