public class AutomatedInstallData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List |
allPacks
The complete list of packs.
|
protected java.util.Map |
attributes
The attributes used by the panels
|
java.util.List |
availablePacks
The available packs.
|
boolean |
canClose
Can we close the installer ?
|
int |
curPanelNumber
The current panel.
|
(package private) static java.lang.String[] |
CUSTOM_ACTION_TYPES
Names of the custom actions types with which they are stored in the installer jar file.
|
java.util.Map |
customData
Custom data.
|
Info |
info
The inforamtions.
|
static int |
INSTALLER_LISTENER_INDEX |
boolean |
installSuccess
Did the installation succeed ?
|
LocaleDatabase |
langpack
The language pack.
|
java.lang.String |
localeISO3
The language code.
|
java.util.List |
panels
The panels list.
|
java.util.List |
panelsOrder
The panels order.
|
java.util.List |
selectedPacks
The selected packs.
|
private static AutomatedInstallData |
self
This class should be a singleton.
|
static int |
UNINSTALLER_JARS_INDEX |
static int |
UNINSTALLER_LIBS_INDEX |
static int |
UNINSTALLER_LISTENER_INDEX |
java.util.zip.ZipOutputStream |
uninstallOutJar
The uninstaller jar stream.
|
protected java.util.Properties |
variables
Maps the variable names to their values
|
XMLElement |
xmlData
The xmlData for automated installers.
|
Constructor and Description |
---|
AutomatedInstallData()
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String attr)
Returns the value of the named attribute.
|
java.lang.String |
getInstallPath()
Returns the install path.
|
static AutomatedInstallData |
getInstance()
Returns the one possible object of this class.
|
java.lang.String |
getVariable(java.lang.String var)
Returns the current value of the specified variable.
|
java.util.Properties |
getVariables()
Returns the map of variable values.
|
void |
setAttribute(java.lang.String attr,
java.lang.Object val)
Sets a named attribute.
|
void |
setInstallPath(java.lang.String path)
Sets the install path.
|
void |
setVariable(java.lang.String var,
java.lang.String val)
Sets a variable to the specified value.
|
static final java.lang.String[] CUSTOM_ACTION_TYPES
public static final int INSTALLER_LISTENER_INDEX
public static final int UNINSTALLER_LISTENER_INDEX
public static final int UNINSTALLER_LIBS_INDEX
public static final int UNINSTALLER_JARS_INDEX
public java.lang.String localeISO3
public LocaleDatabase langpack
public java.util.zip.ZipOutputStream uninstallOutJar
public Info info
public java.util.List allPacks
public java.util.List availablePacks
public java.util.List selectedPacks
public java.util.List panels
public java.util.List panelsOrder
public int curPanelNumber
public boolean canClose
public boolean installSuccess
public XMLElement xmlData
public java.util.Map customData
protected java.util.Properties variables
protected java.util.Map attributes
private static AutomatedInstallData self
public AutomatedInstallData()
public static AutomatedInstallData getInstance()
public java.util.Properties getVariables()
public void setVariable(java.lang.String var, java.lang.String val)
getVariables().setProperty(var, val)
.var
- the name of the variableval
- the new value of the variablegetVariable(java.lang.String)
public java.lang.String getVariable(java.lang.String var)
getVariables().getProperty(var)
.var
- the name of the variablesetVariable(java.lang.String, java.lang.String)
public void setInstallPath(java.lang.String path)
path
- the new install pathgetInstallPath()
public java.lang.String getInstallPath()
setInstallPath(java.lang.String)
public java.lang.Object getAttribute(java.lang.String attr)
attr
- the name of the attributesetAttribute(java.lang.String, java.lang.Object)
public void setAttribute(java.lang.String attr, java.lang.Object val)
attr
- the name of the attribute to setval
- the value of the attribute or null to unset the attributegetAttribute(java.lang.String)