240241242243244245246
public void when(StatePredicate predicate) { currentBuilder().addOrderingConstraint(new InStateOrderingConstraint(predicate)); } public void then(State state) { currentBuilder().addSideEffect(new ChangeStateSideEffect(state)); }
309310311312313314315