|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.installer.AutomatedInstallData
public class AutomatedInstallData
Encloses information about the install process. This implementation is not thread safe.
Field Summary | |
---|---|
java.util.List<Pack> |
allPacks
The complete list of packs. |
protected java.util.Map<java.lang.String,java.lang.Object> |
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<java.lang.String,java.util.List> |
customData
Custom data. |
Info |
info
The inforamtions. |
static java.lang.String |
INSTALLATION_INFORMATION
|
static int |
INSTALLER_LISTENER_INDEX
|
boolean |
installSuccess
Did the installation succeed ? |
LocaleDatabase |
langpack
The language pack. |
java.util.Locale |
locale
The used locale. |
java.lang.String |
localeISO3
The language code. |
static java.lang.String |
MODIFY_INSTALLATION
|
java.util.List<IzPanel> |
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 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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODIFY_INSTALLATION
public static final java.lang.String INSTALLATION_INFORMATION
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 java.util.Locale locale
public LocaleDatabase langpack
public java.util.zip.ZipOutputStream uninstallOutJar
public Info info
public java.util.List<Pack> allPacks
public java.util.List availablePacks
public java.util.List selectedPacks
public java.util.List<IzPanel> panels
public java.util.List panelsOrder
public int curPanelNumber
public boolean canClose
public boolean installSuccess
public XMLElement xmlData
public java.util.Map<java.lang.String,java.util.List> customData
protected java.util.Properties variables
protected java.util.Map<java.lang.String,java.lang.Object> attributes
private static AutomatedInstallData self
Constructor Detail |
---|
public AutomatedInstallData()
Method Detail |
---|
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 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 |