public void addTrigger(String triggerId){
  if (!triggers.contains(triggerId)) {
    triggers.add(triggerId);
  }
}

public void addTrigger ( String triggerId ) { if ( ! triggers . contains ( triggerId ) ) { triggers . add ( triggerId ) ; } }
adds a trigger ' s id to the list of triggers in this group .
