.withEventHandler(EventB.class, new NopHandler<EventB>()) .withEventHandler(EventC.class, new NopHandler<EventC>()) .withAndStopCondition(StopConditions.limitedTime(100))) .build();
.setStopCondition(StopConditions.limitedTime(endTime));
.setStopCondition( StopConditions.and(StopConditions.alwaysTrue(), StopConditions.limitedTime(1000)));
.setStopCondition(StopConditions.limitedTime(endTime));