docs: public final void setTemplate() {
          template = new HashMap();
          if (isEventExist()) {
              template.putAll(events.get(next));
          }
          template.put("event", eventType);
      }