blob: b3ccfa9ece28523a716ade0dca34ceb73ed2eada [file] [log] [blame]
// IBatchListener.java
package org.eclipse.stem.jobs.batch;
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.stem.jobs.execution.IExecutableListenerSync;
/**
* This interface is implemented by classes that want to listen to events
* generated by a {@link IBatch}. The thread running the {@link Batch} will wait
* until the {@link #batchChangedSync(BatchEvent)} method returns before it
* continues execution.
*
* @see IBatch
*/
public interface IBatchListenerSync extends IExecutableListenerSync {
/**
* @param event
* the {@link BatchEvent} the specifies what changed in the
* {@link IBatch}.
*/
void batchChangedSync(BatchEvent event);
} // IBatchListenerSync