]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/src/test/java/org/argeo/slc/example/ExampleDeployedSystem.java
Revert changes in result parts
[gpl/argeo-slc.git] / org.argeo.slc / src / test / java / org / argeo / slc / example / ExampleDeployedSystem.java
index 9dbce4c804031216973cdc0d15935e3111df22a0..388d9b40c2a11929832d45f731bb72a7497badca 100644 (file)
@@ -6,6 +6,7 @@ import org.argeo.slc.example.appli.ExampleAppli;
 \r
 public class ExampleDeployedSystem implements DeployedSystem {\r
        private DeployedSystemId deployedSystemId;\r
+       private int skipFreq = 2;\r
 \r
        public DeployedSystemId getDeployedSystemId() {\r
                return deployedSystemId;\r
@@ -15,7 +16,14 @@ public class ExampleDeployedSystem implements DeployedSystem {
                this.deployedSystemId = deployedSystemId;\r
        }\r
 \r
-       public ExampleAppli getExampleAppliInstance(){\r
-               return new ExampleAppli();\r
+       public ExampleAppli getExampleAppliInstance() {\r
+               ExampleAppli appli = new ExampleAppli();\r
+               appli.setSkipFreq(skipFreq);\r
+               return appli;\r
        }\r
+\r
+       public void setSkipFreq(int skipFreq) {\r
+               this.skipFreq = skipFreq;\r
+       }\r
+\r
 }\r