com.izforge.izpack.installer
Interface CompileHandler

All Superinterfaces:
AbstractUIHandler, AbstractUIProgressHandler
All Known Implementing Classes:
CompilePanel, CompilePanelAutomationHelper

public interface CompileHandler
extends AbstractUIProgressHandler

Interface for monitoring compilation progress.

This is used by CompilePanel, CompileWorker and CompilePanelAutomationHelper to display the progress of the compilation. Most of the functionality, however, is inherited from interface com.izforge.izpack.util.AbstractUIProgressHandler

Author:
Tino Schwarze
See Also:
AbstractUIProgressHandler

Field Summary
 
Fields inherited from interface com.izforge.izpack.util.AbstractUIHandler
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL
 
Method Summary
 void handleCompileError(CompileResult error)
          An error was encountered.
 
Methods inherited from interface com.izforge.izpack.util.AbstractUIProgressHandler
nextStep, progress, setSubStepNo, startAction, stopAction
 
Methods inherited from interface com.izforge.izpack.util.AbstractUIHandler
askQuestion, askQuestion, emitError, emitNotification, emitWarning
 

Method Detail

handleCompileError

void handleCompileError(CompileResult error)
An error was encountered.

This method should notify the user of the error and request a choice whether to continue, abort or reconfigure. It should alter the error accordingly.

Although a CompileResult is passed in, the method is only called if something failed.

Parameters:
error - the error to handle