code: public void setEvents(java.util.Collection<HistoryEvent> events) {
          if (events == null) {
              this.events = null;
              return;
          }
  
          this.events = new java.util.ArrayList<HistoryEvent>(events);
      }
docs: <p>
  The list of history events.
  </p>
  
  @param events
  The list of history events.