public Builder setEventHandlers(EventHandlers eventHandlers) {
      this.eventHandlers = eventHandlers;
      return this;
    }
Sets the {@link EventHandlers} to dispatch events with.

@param eventHandlers the {@link EventHandlers}
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java