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

freak.core.event.BatchEvent 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;

/**
 * A BatchEvent is sent by the Schedule every time a batch is started.
 * 
 * @author Dirk, Stefan
 */
public class BatchEvent extends Event {
	private BatchEventSource source;
	private int batchIndex;

	public BatchEvent(BatchEventSource source, int batchIndex) {
		this.source = source;
		this.batchIndex = batchIndex;
	}

	public BatchEventSource getSource() {
		return source;
	}

	public int getBatchIndex() {
		return batchIndex;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy