code: protected boolean trigger(List<InteractionListener> listeners, Type type, Throwable e) {
          if (listeners.isEmpty())
              return false;
          InteractionEvent event = createInteractionEvent(type, e);
          for (InteractionListener listener : listeners) {
              listener.onEvent(event);
          }
          if (event instanceof AfterFailInteractionEvent)
              return ((AfterFailInteractionEvent) event).isRetry();
          return false;
      }
docs: Trigger.
  
  @param listeners
  the listeners
  @param type
  the type