com.izforge.izpack.panels.shortcut
Class ShortcutPanelAutomationHelper

java.lang.Object
  extended by com.izforge.izpack.installer.automation.PanelAutomationHelper
      extended by com.izforge.izpack.panels.shortcut.ShortcutPanelAutomationHelper
All Implemented Interfaces:
AbstractUIHandler, PanelAutomation

public class ShortcutPanelAutomationHelper
extends PanelAutomationHelper
implements PanelAutomation

The ShortcutPanelAutomationHelper is responsible to create Shortcuts during the automated installation.

Version:
$Revision: 1540 $
Author:
Marc Eppelmann (marc.eppelmann@gmx.de)

Field Summary
 
Fields inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO
 
Constructor Summary
ShortcutPanelAutomationHelper(AutomatedInstallData installData, Resources resources, UninstallData uninstallData, Housekeeper housekeeper, TargetFactory factory, InstallerListeners listeners, PlatformModelMatcher matcher)
          Constructs a ShortcutPanel.
ShortcutPanelAutomationHelper(ShortcutPanelLogic shortcutPanelLogic)
           
 
Method Summary
 void createInstallationRecord(InstallData installData, IXMLElement panelRoot)
          Create the xml configuration content for automatic installation.
 void processOptions(InstallData installData, Overrides overrides)
           
 void runAutomated(InstallData installData, IXMLElement panelRoot)
           
 
Methods inherited from class com.izforge.izpack.installer.automation.PanelAutomationHelper
askQuestion, askQuestion, askWarningQuestion, emitError, emitNotification, emitWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortcutPanelAutomationHelper

public ShortcutPanelAutomationHelper(AutomatedInstallData installData,
                                     Resources resources,
                                     UninstallData uninstallData,
                                     Housekeeper housekeeper,
                                     TargetFactory factory,
                                     InstallerListeners listeners,
                                     PlatformModelMatcher matcher)
                              throws Exception
Constructs a ShortcutPanel.

Parameters:
installData - the installation data
resources - the resources
uninstallData - the uninstallation data
housekeeper - the house keeper
factory - the factory for platform-specific implementations
matcher - the platform-model matcher
Throws:
Exception - for any error

ShortcutPanelAutomationHelper

public ShortcutPanelAutomationHelper(ShortcutPanelLogic shortcutPanelLogic)
                              throws Exception
Throws:
Exception
Method Detail

createInstallationRecord

public void createInstallationRecord(InstallData installData,
                                     IXMLElement panelRoot)
Create the xml configuration content for automatic installation. Normally this method is not used because we are in an automatic installation step.

Specified by:
createInstallationRecord in interface PanelAutomation
Parameters:
installData - Installation data
panelRoot - panel specific data for autoinstall.xml

runAutomated

public void runAutomated(InstallData installData,
                         IXMLElement panelRoot)
Specified by:
runAutomated in interface PanelAutomation

processOptions

public void processOptions(InstallData installData,
                           Overrides overrides)
Specified by:
processOptions in interface PanelAutomation


Copyright © 2018. All rights reserved.