public interface InstallData
InstallData holds data used throughout the installation.| Modifier and Type | Field and Description |
|---|---|
static String |
ESTIMATED_SIZE
The estimated size of the installation on disk.
|
static String |
INSTALL_PATH
The install path.
|
static String |
INSTALLATION_INFORMATION
Installation information file name.
|
static String |
INSTALLER_MODE
Installer mode - auto, console, gui
|
static String |
INSTALLER_MODE_AUTO |
static String |
INSTALLER_MODE_CONSOLE |
static String |
INSTALLER_MODE_GUI |
static String |
MEDIA_PATH
The path for multi-volume installation media.
|
static String |
MODIFY_INSTALLATION
Determines if the installation is being modified.
|
| Modifier and Type | Method and Description |
|---|---|
List<Pack> |
getAllPacks()
Returns all packs.
|
Object |
getAttribute(String name)
Returns the value of the named attribute.
|
List<Pack> |
getAvailablePacks()
Returns the packs available to be installed on the current platform.
|
String |
getDefaultInstallPath()
Returns the default install path.
|
List<DynamicInstallerRequirementValidator> |
getDynamicInstallerRequirements()
Returns the dynamic installer requirement validators.
|
Info |
getInfo()
Returns the installation information.
|
IXMLElement |
getInstallationRecord()
Returns the XML data for automated installation.
|
List<InstallerRequirement> |
getInstallerRequirements()
Returns the installer requirements.
|
String |
getInstallPath()
Returns the install path.
|
Locale |
getLocale()
Returns the current locale.
|
String |
getLocaleISO2()
Returns the current locale's ISO2 language code.
|
String |
getLocaleISO3()
Returns the current locale's ISO3 language code.
|
String |
getMediaPath()
Returns the media path for multi-volume installation.
|
Messages |
getMessages()
Returns the localised messages.
|
List<Panel> |
getPanelsOrder()
Returns the panels.
|
Platform |
getPlatform()
Returns the current platform.
|
RulesEngine |
getRules()
Returns the rules.
|
List<Pack> |
getSelectedPacks()
Returns the selected packs.
|
String |
getVariable(String name)
Returns the current value of the specified variable.
|
Variables |
getVariables()
Returns the variables.
|
boolean |
isCanClose()
Determines if the installer can close.
|
boolean |
isInstallSuccess()
Determines if the installation was successful.
|
boolean |
isRebootNecessary()
Determines if a reboot is required after installation.
|
void |
refreshVariables()
Refreshes dynamic variables.
|
void |
setAttribute(String name,
Object value)
Sets a named attribute.
|
void |
setDefaultInstallPath(String path)
Sets the default install path.
|
void |
setInstallPath(String path)
Sets the install path.
|
void |
setInstallSuccess(boolean success)
Determines if the installation was successful.
|
void |
setMediaPath(String path)
Sets the media path for multi-volume installation.
|
void |
setRebootNecessary(boolean reboot)
Determines if a reboot is required after installation.
|
void |
setSelectedPacks(List<Pack> selectedPacks)
Sets the selected packs.
|
void |
setVariable(String name,
String value)
Sets a variable to the specified value.
|
static final String MEDIA_PATH
static final String INSTALL_PATH
static final String ESTIMATED_SIZE
static final String MODIFY_INSTALLATION
static final String INSTALLATION_INFORMATION
static final String INSTALLER_MODE
static final String INSTALLER_MODE_AUTO
static final String INSTALLER_MODE_CONSOLE
static final String INSTALLER_MODE_GUI
void setVariable(String name, String value)
getVariables().set(name, value).name - the name of the variablevalue - the new value of the variable. May be nullgetVariable(java.lang.String)String getVariable(String name)
getVariables().get(name).name - the name of the variablenull if not setsetVariable(java.lang.String, java.lang.String)void refreshVariables()
getVariables().refresh().Variables getVariables()
void setInstallPath(String path)
path - the new install path. May be nullgetInstallPath()String getInstallPath()
nullsetInstallPath(java.lang.String)void setDefaultInstallPath(String path)
path - the default install path. May be nullgetDefaultInstallPath()String getDefaultInstallPath()
nullsetDefaultInstallPath(java.lang.String)void setMediaPath(String path)
path - the media path. May be nullString getMediaPath()
nullRulesEngine getRules()
Locale getLocale()
nullString getLocaleISO3()
nullString getLocaleISO2()
nullMessages getMessages()
Info getInfo()
Platform getPlatform()
List<Pack> getAvailablePacks()
List<Pack> getSelectedPacks()
void setSelectedPacks(List<Pack> selectedPacks)
selectedPacks - the selected packsboolean isCanClose()
true if the installer can close; otherwise falseboolean isInstallSuccess()
true if the installation was successfulvoid setInstallSuccess(boolean success)
success - if true indicates installation was successfulboolean isRebootNecessary()
true if a reboot is requiredvoid setRebootNecessary(boolean reboot)
reboot - if true indicates a reboot is requiredIXMLElement getInstallationRecord()
List<InstallerRequirement> getInstallerRequirements()
List<DynamicInstallerRequirementValidator> getDynamicInstallerRequirements()
void setAttribute(String name, Object value)
name - the name of the attribute to setvalue - the value of the attribute or null to unset the attributegetAttribute(java.lang.String)Object getAttribute(String name)
name - the name of the attributesetAttribute(java.lang.String, java.lang.Object)Copyright © 2001–2025. All rights reserved.