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