agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/model/Job.java
/**
	 * Adds an event to the history of this job. This will automatically
	 * be saved with the job when the job is persisted.
	 * 
	 * @param event the {@link JobEvent} to add to this job's history
	 */
Adds an event to the history of this job. This will automatically
be saved with the job when the job is persisted.

@param event the  JobEvent to add to this job's history
Adds an event to the history of this job . This will automatically be saved with the job when the job is persisted . @param event the JobEvent to add to this job ' s history
public void addEvent(JobEvent event) {
		event.setJob(this);
		this.events.add(event);
		try {
			JobEventProcessor jep = new JobEventProcessor(event);
            jep.process();
        } catch (JobEventProcessingException e) {
			String msg = String.format("Failed to process %s event for job %s: %s",
                    event, event.getUuid(), e.getMessage());
            log.error(msg);
        }
	}
public void addEvent ( JobEvent event ) { event . setJob ( this ) ; this . events . add ( event ) ; try { JobEventProcessor jep = new JobEventProcessor ( event ) ; jep . process ( ) ; } catch ( JobEventProcessingException e ) { String msg = String . format ( "Failed to process %s event for job %s: %s" , event , event . getUuid ( ) , e . getMessage ( ) ) ; log . error ( msg ) ; } }
Adds an event to the history of this job.
Adds an event to the history of this job .