/** * Set up a rule for the waitque to signal to what kinds of events this plan * in principle reacts to. */ public void setupEventsRule(Collection<String> events) { List<EventType> evs = new ArrayList<EventType>(); for(String event: events) { evs.add(new EventType(event)); } internalSetupEventsRule(evs); }