svn-gvsig-desktop / branches / v2_0_0_prep / build / distribution / IzPack / src / lib / com / izforge / izpack / installer / CompileHandler.java @ 23393
History | View | Annotate | Download (2.07 KB)
1 |
/*
|
---|---|
2 |
* $Id: CompileHandler.java 5819 2006-06-14 07:29:09Z cesar $
|
3 |
* IzPack
|
4 |
* Copyright (C) 2001-2003 Tino Schwarze, Julien Ponge
|
5 |
*
|
6 |
* File : CompileHandler.java
|
7 |
* Description : A panel to compile files after installation
|
8 |
* Author's email : tino.schwarze@informatik.tu-chemnitz.de
|
9 |
* Author's Website : http://www.tisc.de
|
10 |
*
|
11 |
* This program is free software; you can redistribute it and/or
|
12 |
* modify it under the terms of the GNU General Public License
|
13 |
* as published by the Free Software Foundation; either version 2
|
14 |
* of the License, or any later version.
|
15 |
*
|
16 |
* This program is distributed in the hope that it will be useful,
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
* GNU General Public License for more details.
|
20 |
*
|
21 |
* You should have received a copy of the GNU General Public License
|
22 |
* along with this program; if not, write to the Free Software
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
24 |
*/
|
25 |
package com.izforge.izpack.installer; |
26 |
|
27 |
/**
|
28 |
* Interface for monitoring compilation progress.
|
29 |
*
|
30 |
* This is used by <code>CompilePanel</code>, <code>CompileWorker</code> and
|
31 |
* <code>CompilePanelAutomationHelper</code> to display the progress of the
|
32 |
* compilation. Most of the functionality, however, is inherited from interface
|
33 |
* com.izforge.izpack.util.AbstractUIProgressHandler
|
34 |
*
|
35 |
* @author Tino Schwarze
|
36 |
* @see com.izforge.izpack.util.AbstractUIProgressHandler
|
37 |
*/
|
38 |
public interface CompileHandler extends com.izforge.izpack.util.AbstractUIProgressHandler |
39 |
{ |
40 |
/**
|
41 |
* An error was encountered.
|
42 |
*
|
43 |
* This method should notify the user of the error and request a choice
|
44 |
* whether to continue, abort or reconfigure. It should alter the error
|
45 |
* accordingly.
|
46 |
*
|
47 |
* Although a CompileResult is passed in, the method is only called if
|
48 |
* something failed.
|
49 |
*
|
50 |
* @param error the error to handle
|
51 |
*/
|
52 |
public void handleCompileError (CompileResult error); |
53 |
|
54 |
} |
55 |
|