| |
|
| java.lang.Object com.izforge.izpack.installer.AutomatedInstallData
All known Subclasses: com.izforge.izpack.installer.InstallData,
AutomatedInstallData | public class AutomatedInstallData (Code) | | Encloses information about the install process. This implementation is not thread safe.
author: Julien Ponge author: Johannes Lehtinen |
CUSTOM_ACTION_TYPES | final static String[] CUSTOM_ACTION_TYPES(Code) | | Names of the custom actions types with which they are stored in the installer jar file. These
names are also used to identify the type of custom action in the customData map. Slashes as
first char are needed to use the names as "file" name in the installer jar.
|
INSTALLATION_INFORMATION | final public static String INSTALLATION_INFORMATION(Code) | | |
INSTALLER_LISTENER_INDEX | final public static int INSTALLER_LISTENER_INDEX(Code) | | |
MODIFY_INSTALLATION | final public static String MODIFY_INSTALLATION(Code) | | |
UNINSTALLER_JARS_INDEX | final public static int UNINSTALLER_JARS_INDEX(Code) | | |
UNINSTALLER_LIBS_INDEX | final public static int UNINSTALLER_LIBS_INDEX(Code) | | |
UNINSTALLER_LISTENER_INDEX | final public static int UNINSTALLER_LISTENER_INDEX(Code) | | |
availablePacks | public List availablePacks(Code) | | The available packs.
|
canClose | public boolean canClose(Code) | | Can we close the installer ?
|
curPanelNumber | public int curPanelNumber(Code) | | The current panel.
|
installSuccess | public boolean installSuccess(Code) | | Did the installation succeed ?
|
panelsOrder | public List panelsOrder(Code) | | The panels order.
|
selectedPacks | public List selectedPacks(Code) | | The selected packs.
|
variables | protected Properties variables(Code) | | Maps the variable names to their values
|
AutomatedInstallData | public AutomatedInstallData()(Code) | | Constructs a new instance of this class.
Only one should be possible, at a scound call a RuntimeException
will be raised.
|
getInstance | public static AutomatedInstallData getInstance()(Code) | | Returns the one possible object of this class.
the one possible object of this class |
getVariable | public String getVariable(String var)(Code) | | Returns the current value of the specified variable. This is short hand for
getVariables().getProperty(var) .
Parameters: var - the name of the variable the value of the variable or null if not set See Also: AutomatedInstallData.setVariable |
getVariables | public Properties getVariables()(Code) | | Returns the map of variable values. Modifying this will directly affect the current value of
variables.
the map of variable values |
setAttribute | public void setAttribute(String attr, Object val)(Code) | | Sets a named attribute. The panels and other IzPack components can attach custom attributes
to InstallData to communicate with each other. For example, a set of co-operating custom
panels do not need to implement a common data storage but can use InstallData singleton. The
name of the attribute should include the package and class name to prevent name space
collisions.
Parameters: attr - the name of the attribute to set Parameters: val - the value of the attribute or null to unset the attribute See Also: AutomatedInstallData.getAttribute |
setVariable | public void setVariable(String var, String val)(Code) | | Sets a variable to the specified value. This is short hand for
getVariables().setProperty(var, val) .
Parameters: var - the name of the variable Parameters: val - the new value of the variable See Also: AutomatedInstallData.getVariable |
|
|
|