KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > model > IProblemRequestor


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

11 package org.eclipse.ant.internal.ui.model;
12
13 public interface IProblemRequestor {
14
15     /**
16      * Notification of a Ant buildfile problem.
17      *
18      * @param problem IProblem - The discovered Ant buildfile problem.
19      */

20     void acceptProblem(IProblem problem);
21
22     /**
23      * Notification sent before starting the problem detection process.
24      * Typically, this would tell a problem collector to clear previously recorded problems.
25      */

26     void beginReporting();
27
28     /**
29      * Notification sent after having completed problem detection process.
30      * Typically, this would tell a problem collector that no more problems should be expected in this
31      * iteration.
32      */

33     void endReporting();
34
35 }
36
Popular Tags