Java Doc for AutomatedInstallData.java in  » Installer » IzPack » com » izforge » izpack » installer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Installer » IzPack » com.izforge.izpack.installer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
final static  String[]CUSTOM_ACTION_TYPES
     Names of the custom actions types with which they are stored in the installer jar file.
final public static  StringINSTALLATION_INFORMATION
    
final public static  intINSTALLER_LISTENER_INDEX
    
final public static  StringMODIFY_INSTALLATION
    
final public static  intUNINSTALLER_JARS_INDEX
    
final public static  intUNINSTALLER_LIBS_INDEX
    
final public static  intUNINSTALLER_LISTENER_INDEX
    
public  List<Pack>allPacks
     The complete list of packs.
protected  Map<String, Object>attributes
    
public  ListavailablePacks
     The available packs.
public  booleancanClose
    
public  intcurPanelNumber
     The current panel.
public  Map<String, List>customData
     Custom data.
public  Infoinfo
     The inforamtions.
public  booleaninstallSuccess
    
public  LocaleDatabaselangpack
     The language pack.
public  Localelocale
     The used locale.
public  StringlocaleISO3
     The language code.
public  List<IzPanel>panels
     The panels list.
public  ListpanelsOrder
     The panels order.
public  ListselectedPacks
     The selected packs.
public  ZipOutputStreamuninstallOutJar
     The uninstaller jar stream.
protected  Propertiesvariables
    
public  XMLElementxmlData
     The xmlData for automated installers.

Constructor Summary
public  AutomatedInstallData()
     Constructs a new instance of this class.

Method Summary
public  ObjectgetAttribute(String attr)
     Returns the value of the named attribute.
public  StringgetInstallPath()
     Returns the install path.
public static  AutomatedInstallDatagetInstance()
     Returns the one possible object of this class.
public  StringgetVariable(String var)
     Returns the current value of the specified variable.
public  PropertiesgetVariables()
     Returns the map of variable values.
public  voidsetAttribute(String attr, Object val)
     Sets a named attribute.
public  voidsetInstallPath(String path)
     Sets the install path.
public  voidsetVariable(String var, String val)
     Sets a variable to the specified value.

Field Detail
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)



allPacks
public List<Pack> allPacks(Code)
The complete list of packs.



attributes
protected Map<String, Object> attributes(Code)
The attributes used by the panels



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.



customData
public Map<String, List> customData(Code)
Custom data.



info
public Info info(Code)
The inforamtions.



installSuccess
public boolean installSuccess(Code)
Did the installation succeed ?



langpack
public LocaleDatabase langpack(Code)
The language pack.



locale
public Locale locale(Code)
The used locale.



localeISO3
public String localeISO3(Code)
The language code.



panels
public List<IzPanel> panels(Code)
The panels list.



panelsOrder
public List panelsOrder(Code)
The panels order.



selectedPacks
public List selectedPacks(Code)
The selected packs.



uninstallOutJar
public ZipOutputStream uninstallOutJar(Code)
The uninstaller jar stream.



variables
protected Properties variables(Code)
Maps the variable names to their values



xmlData
public XMLElement xmlData(Code)
The xmlData for automated installers.




Constructor Detail
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.




Method Detail
getAttribute
public Object getAttribute(String attr)(Code)
Returns the value of the named attribute.
Parameters:
  attr - the name of the attribute the value of the attribute or null if not set
See Also:   AutomatedInstallData.setAttribute



getInstallPath
public String getInstallPath()(Code)
Returns the install path. the current install path or null if none set yet
See Also:   AutomatedInstallData.setInstallPath



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



setInstallPath
public void setInstallPath(String path)(Code)
Sets the install path.
Parameters:
  path - the new install path
See Also:   AutomatedInstallData.getInstallPath



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



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.