|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.AutomatedInstallData
Encloses information about the install process. This implementation is not thread safe.
| Nested Class Summary | |
private static class |
AutomatedInstallData.VariableValueMapImpl
A Properties based implementation for VariableValueMap interface. |
| Field Summary | |
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. |
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 AutomatedInstallData.VariableValueMapImpl |
variableValueMap
Deprecated. this will change to a simple Properties object as once the deprecated VariableValueMap is gone (IzPack v1.7?). |
XMLElement |
xmlData
The xmlData for automated installers. |
| Constructor Summary | |
AutomatedInstallData()
Constructs a new instance of this class. |
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attr)
Returns the value of the named attribute. |
java.lang.String |
getInstallPath()
Returns the install path. |
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. |
VariableValueMap |
getVariableValueMap()
Deprecated. use getVariables() |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
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 AutomatedInstallData.VariableValueMapImpl variableValueMap
protected java.util.Map attributes
| Constructor Detail |
public AutomatedInstallData()
| Method Detail |
public VariableValueMap getVariableValueMap()
getVariables()
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 variable
setVariable(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 attribute
setAttribute(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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||