]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/support/deploy/SimpleHttpdApplication.java
Migrate deploy developments to main project
[gpl/argeo-slc.git] / org.argeo.slc.core / 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
8 public class SimpleHttpdApplication implements WebApplication {
9 private HttpdApplicationTargetData targetData;
10 private Distribution distribution;
11
12 public void setDistribution(Distribution distribution) {
13 this.distribution = distribution;
14 }
15
16 public URL getBaseUrl() {
17 return targetData.getTargetBaseUrl();
18 }
19
20 public File getRootLocation() {
21 return targetData.getTargetRootLocation();
22 }
23
24 public String getDeployedSystemId() {
25 // TODO Auto-generated method stub
26 return null;
27 }
28
29 public HttpdApplicationTargetData getTargetData() {
30 return targetData;
31 }
32
33 public void setTargetData(HttpdApplicationTargetData targetData) {
34 this.targetData = targetData;
35 }
36
37 public Distribution getDistribution() {
38 return distribution;
39 }
40
41 }