Information | Value |
---|---|
Component | Simulator |
Partner | LIN |
WP | 6 |
Responsible | Tom Jorquera [email protected] |
Collaborators | |
Roadmap | http://wiki.learnpad.eu/LearnPAdWiki/bin/view/Component/Simulation+Environment+ |
This is the simulator component of the Learn PAd platform. It provides means to run a simulation of a process.
The simulator is currently a self-contained demo application including a BPMN 2.0 engine and an embedded webserver. To run it:
-
first create the executable jar by running mvn package This should create the
target/simulator-<version>-jar-with-dependencies.jar
file. -
you can then launch the jar by running
java -jar target/simulator-<version>-jar-with-dependencies.jar
(replace with the current version of the simulator)
As indicated on the command-line, the demo should then be available at http://localhost:8081.
There is no possible configuration at the moment.
This component does not yet implements the interface specification defined in the Roadmap (but this is worked on 😉).
Currently, the main entry point of the Simulator is the Simulator
class, which provides 3 methods to get the various interfaces:
userHandler()
: to manage usersprocessManager()
: for process-related tasksprocessEventReceiver()
: to get the process event listener (probably not very useful except if you want to interact with the simulator UI)
To get more info regarding the different interfaces, please refer to the associated JavaDoc.
You can also refer to the Main
to see an example of how the simulator API can be used.
NOTE: the current API is in a strong flux state and is subject to heavy changes (especially to conform to the Simulation Environment interface specification aforementioned)