KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > ajde > BuildManager


1
2 /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3  *
4  * This file is part of the IDE support for the AspectJ(tm)
5  * programming language; see http://aspectj.org
6  *
7  * The contents of this file are subject to the Mozilla Public License
8  * Version 1.1 (the "License"); you may not use this file except in
9  * compliance with the License. You may obtain a copy of the License at
10  * either http://www.mozilla.org/MPL/ or http://aspectj.org/MPL/.
11  *
12  * Software distributed under the License is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14  * for the specific language governing rights and limitations under the
15  * License.
16  *
17  * The Original Code is AspectJ.
18  *
19  * The Initial Developer of the Original Code is Xerox Corporation. Portions
20  * created by Xerox Corporation are Copyright (C) 1999-2002 Xerox Corporation.
21  * All Rights Reserved.
22  *
23  * Contributor(s):
24  */

25
26 package org.aspectj.ajde;
27
28 import org.aspectj.ajde.internal.*;
29 import org.aspectj.ajde.internal.AjdeCompiler;
30
31 /**
32  * Responsible for the build process, including compiler invocation, threading, and error
33  * reporting.
34  *
35  * @author Mik Kersten
36  */

37 public interface BuildManager {
38
39     /**
40      * Build the structure model for the default build configuration. No ".class" files
41      * are generated.
42      */

43     public void buildStructure();
44
45     /**
46      * Build the default build configuration.
47      */

48     public void build();
49     
50     /**
51      * Build the specified build configuration.
52      */

53     public void build(String JavaDoc configFile);
54
55     /**
56      * Exit the build immediately, before completion.
57      */

58     public void abortBuild();
59
60     public BuildOptionsAdapter getBuildOptions();
61
62     public AjdeCompiler getCurrCompiler();
63
64     public boolean isStructureDirty();
65
66     public void setStructureDirty(boolean structureDirty);
67
68     public void addListener(BuildListener compilerListener);
69
70     public void removeListener(BuildListener compilerListener);
71 }
72
73
Popular Tags