All Downloads are FREE. Search and download functionalities are using the official Maven repository.

freak.core.event.RunEvent Maven / Gradle / Ivy

There is a newer version: 0.4.7
Show newest version
/*
 * This file is part of FrEAK. For licensing and copyright information
 * please see the file COPYING in the root directory of this
 * distribution or contact .
 */

package freak.core.event;

import freak.core.control.*;

/**
 * A RunEvent is sent by the Schedule, every time a run is started or finished.
 * 
 * @author Stefan
 */
public class RunEvent extends Event {
	private RunEventSource source;
	private RunIndex runIndex;

	public RunEvent(RunEventSource source, RunIndex runIndex) {
		this.source = source;
		this.runIndex = runIndex;
	}

	public RunEventSource getSource() {
		return source;
	}

	/**
	 * Returns the number of the associated run.
	 */
	public RunIndex getRunIndex() {
		return runIndex;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy