KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > core > IJobListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.core;
12
13 import org.eclipse.core.runtime.QualifiedName;
14
15 /**
16  * This interface allows interested parties to receive notification
17  * when work has started or stopped for a given job type. The <code>started</code>
18  * method is invoked when the first job is started for the given <code>jobType</code>.
19  * The <code>finish</code> method is called when the last job of a given type stops.
20  * Several jobs for the job type may start and stop in the interum without causing
21  * notification to the listener.
22  */

23 public interface IJobListener {
24     public void started(QualifiedName jobType);
25     public void finished(QualifiedName jobType);
26 }
27
Popular Tags