]>
git.argeo.org Git - gpl/argeo-slc.git/blob - trash/examples/org.argeo.slc.example01/src/main/java/org/argeo/slc/example/ExampleDeployedSystem.java
c33d4edf0f5fa178c8f7774843e2a76477c2c3c8
1 package org
.argeo
.slc
.example
;
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
;
9 /** Example deployed sytem. */
10 public class ExampleDeployedSystem
implements DeployedSystem
{
11 private String deployedSystemId
;
12 private int skipFreq
= 2;
14 public String
getDeployedSystemId() {
15 return deployedSystemId
.toString();
18 /** Sets deployed system id. */
19 public void setDeployedSystemId(String deployedSystemId
) {
20 this.deployedSystemId
= deployedSystemId
;
23 /** Creates an instance of the example appli. */
24 public ExampleAppli
getExampleAppliInstance() {
25 ExampleAppli appli
= new ExampleAppli();
26 appli
.setSkipFreq(skipFreq
);
30 /** Sets the frequency used to skip lines. */
31 public void setSkipFreq(int skipFreq
) {
32 this.skipFreq
= skipFreq
;
35 public Distribution
getDistribution() {
36 // TODO Auto-generated method stub
40 public DeploymentData
getDeploymentData() {
41 // TODO Auto-generated method stub
45 public TargetData
getTargetData() {
46 // TODO Auto-generated method stub