/** Notifies all {@link Stoppable}s that have * been started in this brewery. * Starting and stopping a brewery is optional. * Stopping a stopped brewery is ignored. */ public void stop() { if (isStarted) { isStarted = false; Collections.reverse(stoppables); for (Stoppable stoppable: stoppables) { stoppable.stop(this); } stoppables = new ArrayList<>(); } }