FEOMedia / artemis-odb-orion

Operations mini-DSL specialized to deal with artemis-odb entities
Apache License 2.0
21 stars 5 forks source link

Adds Executor.end method #12

Closed sonirico closed 8 years ago

sonirico commented 8 years ago

Like Executor.begin, conceived for initialization, Executor.end comes handy for encapsulated cleanups and reset operations. On the other hand, a trivial test has been added. Every time the world is proccessed a counter is incremented by one. Once its value is over 2 - checked by Operation.isComplete- the operation will end and the value will be reset to -1.

junkdog commented 8 years ago

looks like you auto-converted tabs to spaces, could you fix it - easier reading diff then too

sonirico commented 8 years ago

I messed up a bit the files. Creating a new PR now.