com.izforge.izpack.installer
Interface PanelAction


public interface PanelAction


Nested Class Summary
static class PanelAction.ActionStage
          pre panel activation stage
 
Field Summary
static java.lang.String PANEL_ACTION_CLASSNAME_TAG
          attribute for class to use
static java.lang.String PANEL_ACTION_CONFIGURATION_TAG
          tag-name for the configuration of an action.
static java.lang.String PANEL_ACTION_STAGE_TAG
          attribute for the stage of the action
static java.lang.String PANEL_ACTION_TAG
          tag-name of the panel action
static java.lang.String PANEL_ACTIONS_TAG
          tag-name of the panel action
 
Method Summary
 void executeAction(AutomatedInstallData adata, AbstractUIHandler handler)
           
 void initialize(PanelActionConfiguration configuration)
          Initializes the PanelAction with the given configuration.
 

Field Detail

PANEL_ACTIONS_TAG

static final java.lang.String PANEL_ACTIONS_TAG
tag-name of the panel action

See Also:
Constant Field Values

PANEL_ACTION_TAG

static final java.lang.String PANEL_ACTION_TAG
tag-name of the panel action

See Also:
Constant Field Values

PANEL_ACTION_STAGE_TAG

static final java.lang.String PANEL_ACTION_STAGE_TAG
attribute for the stage of the action

See Also:
Constant Field Values

PANEL_ACTION_CONFIGURATION_TAG

static final java.lang.String PANEL_ACTION_CONFIGURATION_TAG
tag-name for the configuration of an action.

See Also:
Constant Field Values

PANEL_ACTION_CLASSNAME_TAG

static final java.lang.String PANEL_ACTION_CLASSNAME_TAG
attribute for class to use

See Also:
Constant Field Values
Method Detail

executeAction

void executeAction(AutomatedInstallData adata,
                   AbstractUIHandler handler)
Parameters:
adata - - AutomatedInstallData instance
handler - - actual UIHandler ( NOTE: On a preconstruct action the handler is null because it is not available until it is constructed. During an automated installation the handler is null on each action because we have no GUI to handle.

initialize

void initialize(PanelActionConfiguration configuration)
Initializes the PanelAction with the given configuration.

Parameters:
configuration - an PanelActionConfiguration containing the configuration of the action or null if no configuration was found.