Class ProcessingBehavior

java.lang.Object
fr.robie.machineengine.api.machine.ProcessingBehavior
All Implemented Interfaces:
MachineBehavior

public final class ProcessingBehavior extends Object implements MachineBehavior
A ready-made behavior for recipe machines: start the first recipe (registration order) whose inputs are available, run it, deliver outputs, and optionally push outputs to a neighbor. Sleeps whenever there is nothing to do.