]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.example/src/main/java/org/argeo/slc/example/ExampleDeployedSystem.java
Various fixes so that SLC example works again
[gpl/argeo-slc.git] / org.argeo.slc.example / src / main / java / org / argeo / slc / example / ExampleDeployedSystem.java
index 24ba414b09a5e14813291abc6c04c981d2a15124..a5dbf64e43bb290b5e1809f79d4c1d3ec3066572 100644 (file)
@@ -1,20 +1,20 @@
 package org.argeo.slc.example;\r
 \r
+import org.argeo.slc.core.build.Distribution;\r
 import org.argeo.slc.core.deploy.DeployedSystem;\r
-import org.argeo.slc.core.deploy.DeployedSystemId;\r
 import org.argeo.slc.example.appli.ExampleAppli;\r
 \r
 /** Example deployed sytem. */\r
 public class ExampleDeployedSystem implements DeployedSystem {\r
-       private DeployedSystemId deployedSystemId;\r
+       private String deployedSystemId;\r
        private int skipFreq = 2;\r
 \r
-       public DeployedSystemId getDeployedSystemId() {\r
-               return deployedSystemId;\r
+       public String getDeployedSystemId() {\r
+               return deployedSystemId.toString();\r
        }\r
 \r
        /** Sets deployed system id. */\r
-       public void setDeployedSystemId(DeployedSystemId deployedSystemId) {\r
+       public void setDeployedSystemId(String deployedSystemId) {\r
                this.deployedSystemId = deployedSystemId;\r
        }\r
 \r
@@ -30,4 +30,9 @@ public class ExampleDeployedSystem implements DeployedSystem {
                this.skipFreq = skipFreq;\r
        }\r
 \r
+       public Distribution getDistribution() {\r
+               // TODO Auto-generated method stub\r
+               return null;\r
+       }\r
+\r
 }\r