code: @Override
      public void onEvent(InteractionEvent event) {
          switch (event.getType()) {
          case BEFORE_WAIT:
              onBeforeWaitEvent((BeforeWaitInteractionEvent) event);
              break;
          case BEFORE:
              onBeforeEvent((BeforeInteractionEvent) event);
              break;
          case AFTER_SUCCESS:
              onAfterSuccessEvent((AfterSuccessInteractionEvent) event);
              onAfterEvent((AfterInteractionEvent) event);
              break;
          case AFTER_FAIL:
              onAfterFailEvent((AfterFailInteractionEvent) event);
              onAfterEvent((AfterInteractionEvent) event);
              break;
          }
      }
docs: /* (non-Javadoc)
  @see com.vilt.minium.actions.InteractionListener#onEvent(com.vilt.minium.actions.InteractionEvent)