|
||||||||||
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. |
Info |
info
The inforamtions. |
boolean |
installSuccess
Did the installation succeed ? |
java.lang.String |
kind
The installer kind. |
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. |
java.util.zip.ZipOutputStream |
uninstallOutJar
The uninstaller jar stream. |
protected VariableValueMap |
variableValueMap
Maps the variable names to their values |
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. |
VariableValueMap |
getVariableValueMap()
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String localeISO3
public LocaleDatabase langpack
public java.lang.String kind
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
protected VariableValueMap variableValueMap
protected java.util.Map attributes
Constructor Detail |
public AutomatedInstallData()
Method Detail |
public VariableValueMap getVariableValueMap()
public void setVariable(java.lang.String var, java.lang.String val)
getVariableValueMap().setVariable(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)
getVariableValueMap().getVariable(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 |