Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Mogram createExertionJob() throws Exception {
- Task coffee = task("coffee", sig("makeCoffee", CoffeeService.class), context(
- val("recipe/key", "espresso"),
- val("coffee/paid", 120),
- val("coffee/change"),
- val("recipe", getEspressoContext())));
- Task delivery = task("delivery", sig("deliver", Delivery.class), context(
- val("location", "PJATK"),
- val("delivery/paid"),
- val("room", "101")));
- Job drinkCoffee = job(coffee, delivery,
- pipe(outPoint(coffee, "coffee/change"), inPoint(delivery, "delivery/paid")));
- return drinkCoffee;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement