com.izforge.izpack.compiler
Interface PackagerListener

All Known Implementing Classes:
Compiler.CmdlinePackagerListener, IzPackTask

public interface PackagerListener

An interface for classes that want to listen to a packager events.

Author:
Julien Ponge

Field Summary
static int MSG_DEBUG
          Message priority of "debug".
static int MSG_ERR
          Message priority of "error".
static int MSG_INFO
          Message priority of "information".
static int MSG_VERBOSE
          Message priority of "verbose".
static int MSG_WARN
          Message priority of "warning".
 
Method Summary
 void packagerMsg(java.lang.String info)
          Send a message with the priority MSG_INFO.
 void packagerMsg(java.lang.String info, int priority)
          Send a message with the specified priority.
 void packagerStart()
          Called when the packager starts.
 void packagerStop()
          Called when the packager stops.
 

Field Detail

MSG_DEBUG

static final int MSG_DEBUG
Message priority of "debug".

See Also:
Constant Field Values

MSG_ERR

static final int MSG_ERR
Message priority of "error".

See Also:
Constant Field Values

MSG_INFO

static final int MSG_INFO
Message priority of "information".

See Also:
Constant Field Values

MSG_VERBOSE

static final int MSG_VERBOSE
Message priority of "verbose".

See Also:
Constant Field Values

MSG_WARN

static final int MSG_WARN
Message priority of "warning".

See Also:
Constant Field Values
Method Detail

packagerMsg

void packagerMsg(java.lang.String info)
Send a message with the priority MSG_INFO.

Parameters:
info - The information that has been sent.

packagerMsg

void packagerMsg(java.lang.String info,
                 int priority)
Send a message with the specified priority.

Parameters:
info - The information that has been sent.
priority - The priority of the message.

packagerStart

void packagerStart()
Called when the packager starts.


packagerStop

void packagerStop()
Called when the packager stops.