/**
 * ProcessLogEvent.java
 * Created Jun 7, 2007
 * Copyright (c) Tandberg Television 2007
 */
package com.tandbergtv.workflow.driver.event;

import org.jbpm.logging.log.ProcessLog;

import com.tandbergtv.workflow.core.event.WorkflowEvent;

/**
 * This event contains a JBPM log that is generated during the lifetime of a process
 * 
 * @author Sahil Verma
 */
public class ProcessLogEvent extends WorkflowEvent {

	private ProcessLog log;

	/**
	 * Creates a {@link ProcessLogEvent}
	 * @param source
	 * @param instance
	 * @param token
	 */
	public ProcessLogEvent(Object source, ProcessLog log) {
		super(source);
		this.log = log;
	}

	/**
	 * @return the log
	 */
	public ProcessLog getLog() {
		return log;
	}
}
