... | ... | @@ -11,7 +11,7 @@ In order to work with TeeTime you need to make sure it is added to your project. |
|
|
- [DirReader.java](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/DirReader.java)
|
|
|
- [FileCounter.java](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/FileCounter.java)
|
|
|
- [ResultPrinter.java](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/ResultPrinter.java)
|
|
|
- [PrintResultConfig.java](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/PrintResultConfig.java)
|
|
|
- [PrintResultConfig.java (Runnable example P&F architecture)](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/PrintResultConfig.java)
|
|
|
|
|
|
### Separate that Logic
|
|
|
|
... | ... | @@ -138,7 +138,7 @@ After all the hard work you may be way to excited to go to bed yet. |
|
|
To reap the fruits of your success you still need to execute the architecture.
|
|
|
As the caption of this section already spoils, we only need to instantiate the class ```teetime.framework.Execution``` and pass the desired ```Configuration``` to its constructor.
|
|
|
Eventually, call ```executeBlocking()``` (or ```executeNonBlocking()```) and take a glance at your finished work.
|
|
|
Following example is extracted from the sample solution of the section above:
|
|
|
Following example is extracted from the sample solution [PrintResultConfig.java](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/test/java/teetime/examples/filecounter/PrintResultConfig.java) of the section above:
|
|
|
|
|
|
```Java
|
|
|
public static void main(final String... args) {
|
... | ... | |