Introduce CMS deployment
[gpl/argeo-slc.git] / cms / org.argeo.slc.cms / src / org / argeo / slc / cms / deploy / SimpleCmsTargetData.java
index 9ba955a546d3ae99f1ab9b79c2266fd0af4ff386..ecf17d684233c53d515baa06a7a686d5555b1409 100644 (file)
@@ -2,9 +2,29 @@ package org.argeo.slc.cms.deploy;
 
 import java.nio.file.Path;
 
-import org.argeo.slc.deploy.TargetData;
-
-public class SimpleCmsTargetData implements TargetData {
-       private Integer httpPort;
+public class SimpleCmsTargetData implements CmsTargetData {
        private Path instanceData;
+       private Integer httpPort;
+
+       public SimpleCmsTargetData(Path instanceData, Integer httpPort) {
+               this.instanceData = instanceData;
+               this.httpPort = httpPort;
+       }
+
+       public Integer getHttpPort() {
+               return httpPort;
+       }
+
+       public void setHttpPort(Integer httpPort) {
+               this.httpPort = httpPort;
+       }
+
+       public Path getInstanceData() {
+               return instanceData;
+       }
+
+       public void setInstanceData(Path instanceData) {
+               this.instanceData = instanceData;
+       }
+
 }