]> git.argeo.org Git - gpl/argeo-slc.git/blob - examples/org.argeo.slc.example01/src/main/java/org/argeo/slc/example/ExampleDeployedSystem.java
Refactor package names
[gpl/argeo-slc.git] / examples / org.argeo.slc.example01 / src / main / java / org / argeo / slc / example / ExampleDeployedSystem.java
1 package org.argeo.slc.example;
2
3 import org.argeo.slc.build.Distribution;
4 import org.argeo.slc.deploy.DeployedSystem;
5 import org.argeo.slc.deploy.DeploymentData;
6 import org.argeo.slc.deploy.TargetData;
7 import org.argeo.slc.example.appli.ExampleAppli;
8
9 /** Example deployed sytem. */
10 public class ExampleDeployedSystem implements DeployedSystem {
11 private String deployedSystemId;
12 private int skipFreq = 2;
13
14 public String getDeployedSystemId() {
15 return deployedSystemId.toString();
16 }
17
18 /** Sets deployed system id. */
19 public void setDeployedSystemId(String deployedSystemId) {
20 this.deployedSystemId = deployedSystemId;
21 }
22
23 /** Creates an instance of the example appli. */
24 public ExampleAppli getExampleAppliInstance() {
25 ExampleAppli appli = new ExampleAppli();
26 appli.setSkipFreq(skipFreq);
27 return appli;
28 }
29
30 /** Sets the frequency used to skip lines. */
31 public void setSkipFreq(int skipFreq) {
32 this.skipFreq = skipFreq;
33 }
34
35 public Distribution getDistribution() {
36 // TODO Auto-generated method stub
37 return null;
38 }
39
40 public DeploymentData getDeploymentData() {
41 // TODO Auto-generated method stub
42 return null;
43 }
44
45 public TargetData getTargetData() {
46 // TODO Auto-generated method stub
47 return null;
48 }
49
50 }