Mercurial > hg > Members > tatsuki > Alice
comparison src/main/java/alice/test/codesegment/local/StartCodeSegment.java @ 345:8f71c3e6f11d
Change directory structure Maven standard
author | sugi |
---|---|
date | Wed, 16 Apr 2014 18:26:07 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
344:9f97ec18f8c5 | 345:8f71c3e6f11d |
---|---|
1 package alice.test.codesegment.local; | |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 | |
5 public class StartCodeSegment extends CodeSegment { | |
6 | |
7 @Override | |
8 public void run() { | |
9 System.out.println("run StartCodeSegment"); | |
10 | |
11 TestCodeSegment cs = new TestCodeSegment(); | |
12 cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs. | |
13 // cs is waiting for local.key1 | |
14 System.out.println("create TestCodeSegment"); | |
15 | |
16 ods.update("local", "key1", "String data"); // bind string data to datasegment local.key1 | |
17 // this startup TestCodeSegment. | |
18 } | |
19 | |
20 } |