@Subscribe public void defined(Defined event) { bus.publish( new ProjectDefinedMessage( event.getId(), event.getTitle(), event.getOwner(), event.getHoursRequired(), event.getDefinedAt())); }
@Subscribe public void completed(Completed event) { bus.publish(new ProjectCompletedMessage(event.getId(), event.getCompletedAt())); }
@Subscribe public void abandoned(Abandoned event) { bus.publish( new ProjectAbandonedMessage(event.getId(), event.getAbandonedAt(), event.getReason())); }
@Subscribe public void started(Started event) { bus.publish(new ProjectStartedMessage(event.getId(), event.getStartedAt())); }