Java Doc for AntAction.java in  » Installer » IzPack » com » izforge » izpack » event » 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.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.izforge.izpack.event.ActionBase
      com.izforge.izpack.event.AntAction

AntAction
public class AntAction extends ActionBase (Code)
This class contains data and 'perform' logic for ant action listeners.
author:
   Thomas Guenter
author:
   Klaus Bartz


Field Summary
final public static  StringANTACTION
    
final public static  StringANTACTIONS
    
final public static  StringANTCALL
    

Constructor Summary
public  AntAction()
    

Method Summary
public  voidaddPropertyFile(String propertyFile)
     Adds one property file path to the internal list of property file paths.
public  voidaddTarget(String target)
     Adds the given target to the target list which should be performed at installation time.
public  voidaddUninstallTarget(String target)
     Adds the given target to the target list which should be performed at uninstallation time.
public  StringgetBuildFile()
     Returns the build file.
public  StringgetLogFile()
     Returns the current logfile path as string.
public  PropertiesgetProperties()
     Returns the properties.
public  StringgetProperty(String name)
     Returns the value for the property identified by the given name.
public  List<String>getPropertyFiles()
     Returns the property file paths as list of strings.
public  List<String>getTargets()
     Returns the targets.
public  List<String>getUninstallTargets()
     Returns the uninstaller targets.
public  booleanisQuiet()
     Returns the quiet state.
public  booleanisVerbose()
     Returns the verbose state.
public  voidperformAction(boolean uninstall)
     Performs all defined actions.
Parameters:
  uninstall - An install/uninstall switch.
public  voidperformInstallAction()
     Performs all defined install actions.
public  voidperformUninstallAction()
     Performs all defined uninstall actions.
public  voidsetBuildFile(String buildFile)
     Sets the build file to be used to the given string.
public  voidsetLogFile(String logFile)
     Sets the logfile path to the given string.
public  voidsetProperties(Properties properties)
     Sets the internal properties to the given properties.
public  voidsetProperty(String name, String value)
     Sets the given value to the property identified by the given name.
public  voidsetPropertyFiles(List<String> propertyFiles)
     Sets the property file path list to the given list.
public  voidsetQuiet(boolean quiet)
     Sets whether the associated ant task should be performed quiet or not.
public  voidsetTargets(ArrayList<String> targets)
     Sets the targets which should be performed at installation time.
public  voidsetUninstallTargets(ArrayList<String> targets)
     Sets the targets which should be performed at uninstallation time.
public  voidsetVerbose(boolean verbose)
     Sets the verbose state.

Field Detail
ANTACTION
final public static String ANTACTION(Code)



ANTACTIONS
final public static String ANTACTIONS(Code)



ANTCALL
final public static String ANTCALL(Code)




Constructor Detail
AntAction
public AntAction()(Code)
Default constructor




Method Detail
addPropertyFile
public void addPropertyFile(String propertyFile)(Code)
Adds one property file path to the internal list of property file paths.
Parameters:
  propertyFile - to be added



addTarget
public void addTarget(String target)(Code)
Adds the given target to the target list which should be performed at installation time.
Parameters:
  target - target to be add



addUninstallTarget
public void addUninstallTarget(String target)(Code)
Adds the given target to the target list which should be performed at uninstallation time.
Parameters:
  target - target to be add



getBuildFile
public String getBuildFile()(Code)
Returns the build file. the build file



getLogFile
public String getLogFile()(Code)
Returns the current logfile path as string. current logfile path



getProperties
public Properties getProperties()(Code)
Returns the properties. the properties



getProperty
public String getProperty(String name)(Code)
Returns the value for the property identified by the given name.
Parameters:
  name - name of the property value of the property



getPropertyFiles
public List<String> getPropertyFiles()(Code)
Returns the property file paths as list of strings. the property file paths



getTargets
public List<String> getTargets()(Code)
Returns the targets. the targets



getUninstallTargets
public List<String> getUninstallTargets()(Code)
Returns the uninstaller targets. the uninstaller targets



isQuiet
public boolean isQuiet()(Code)
Returns the quiet state. quiet state



isVerbose
public boolean isVerbose()(Code)
Returns the verbose state. verbose state



performAction
public void performAction(boolean uninstall) throws Exception(Code)
Performs all defined actions.
Parameters:
  uninstall - An install/uninstall switch. If this is true only the uninstallactions, otherwise only the install actions are being performed.
See Also:   AntAction.performInstallAction()
See Also:    for calling all install actions.
See Also:   AntAction.performUninstallAction()
See Also:    for calling all uninstall actions.
throws:
  Exception -



performInstallAction
public void performInstallAction() throws Exception(Code)
Performs all defined install actions. Calls {#performAction performAction(false)}.
throws:
  Exception -



performUninstallAction
public void performUninstallAction() throws Exception(Code)
Performs all defined uninstall actions. Calls {#performAction performAction(true)}.
throws:
  Exception -



setBuildFile
public void setBuildFile(String buildFile)(Code)
Sets the build file to be used to the given string.
Parameters:
  buildFile - build file path to be used



setLogFile
public void setLogFile(String logFile)(Code)
Sets the logfile path to the given string.
Parameters:
  logFile - to be set



setProperties
public void setProperties(Properties properties)(Code)
Sets the internal properties to the given properties. Old settings will be lost.
Parameters:
  properties - properties to be set



setProperty
public void setProperty(String name, String value)(Code)
Sets the given value to the property identified by the given name.
Parameters:
  name - key of the property
Parameters:
  value - value to be used for the property



setPropertyFiles
public void setPropertyFiles(List<String> propertyFiles)(Code)
Sets the property file path list to the given list. Old settings will be lost.
Parameters:
  propertyFiles - list of property file paths to be set



setQuiet
public void setQuiet(boolean quiet)(Code)
Sets whether the associated ant task should be performed quiet or not.
Parameters:
  quiet - quiet state to set



setTargets
public void setTargets(ArrayList<String> targets)(Code)
Sets the targets which should be performed at installation time. Old settings are lost.
Parameters:
  targets - list of targets



setUninstallTargets
public void setUninstallTargets(ArrayList<String> targets)(Code)
Sets the targets which should be performed at uninstallation time. Old settings are lost.
Parameters:
  targets - list of targets



setVerbose
public void setVerbose(boolean verbose)(Code)
Sets the verbose state.
Parameters:
  verbose - state to be set



Fields inherited from com.izforge.izpack.event.ActionBase
final public static String ACTION(Code)(Java Doc)
final public static String AFTERDELETION(Code)(Java Doc)
final public static String AFTERPACK(Code)(Java Doc)
final public static String AFTERPACKS(Code)(Java Doc)
final public static String ARCH(Code)(Java Doc)
final public static String ASKFALSE(Code)(Java Doc)
final public static String ASKTRUE(Code)(Java Doc)
final public static String BEFOREDELETION(Code)(Java Doc)
final public static String BEFOREPACK(Code)(Java Doc)
final public static String BEFOREPACKS(Code)(Java Doc)
final public static String BUILDFILE(Code)(Java Doc)
final public static String CASESENSITIVE(Code)(Java Doc)
final public static String COPY(Code)(Java Doc)
final public static String EXCLUDE(Code)(Java Doc)
final public static String EXCLUDES(Code)(Java Doc)
final public static String FALSE(Code)(Java Doc)
final public static String FAMILY(Code)(Java Doc)
final public static String FILESET(Code)(Java Doc)
final public static String INCLUDE(Code)(Java Doc)
final public static String INCLUDES(Code)(Java Doc)
final public static String LOGFILE(Code)(Java Doc)
final public static String MAC(Code)(Java Doc)
final public static String MESSAGEID(Code)(Java Doc)
final public static String MOVE(Code)(Java Doc)
final public static String NAME(Code)(Java Doc)
final public static String NO(Code)(Java Doc)
final public static String NOTHING(Code)(Java Doc)
final public static String ONDEST(Code)(Java Doc)
final public static String ORDER(Code)(Java Doc)
final public static String OS(Code)(Java Doc)
final public static String OVERRIDE(Code)(Java Doc)
final public static String PACK(Code)(Java Doc)
final public static String PATH(Code)(Java Doc)
final public static String PROPERTY(Code)(Java Doc)
final public static String PROPERTYFILE(Code)(Java Doc)
final public static String QUIET(Code)(Java Doc)
final public static String REMOVE(Code)(Java Doc)
final public static String REWIND(Code)(Java Doc)
final public static String SRCDIR(Code)(Java Doc)
final public static String TARGET(Code)(Java Doc)
final public static String TARGETDIR(Code)(Java Doc)
final public static String TOUCH(Code)(Java Doc)
final public static String TRUE(Code)(Java Doc)
final public static String UNINSTALL_ACTION(Code)(Java Doc)
final public static String UNINSTALL_ORDER(Code)(Java Doc)
final public static String UNINSTALL_TARGET(Code)(Java Doc)
final public static String UNIX(Code)(Java Doc)
final public static String UPDATE(Code)(Java Doc)
final public static String VALUE(Code)(Java Doc)
final public static String VERBOSE(Code)(Java Doc)
final public static String VERSION(Code)(Java Doc)
final public static String WINDOWS(Code)(Java Doc)
final public static String YES(Code)(Java Doc)
protected String messageID(Code)(Java Doc)
protected String order(Code)(Java Doc)
protected String uninstallOrder(Code)(Java Doc)

Methods inherited from com.izforge.izpack.event.ActionBase
public String getMessageID()(Code)(Java Doc)
public String getOrder()(Code)(Java Doc)
public String getUninstallOrder()(Code)(Java Doc)
public void setMessageID(String string)(Code)(Java Doc)
public void setOrder(String order) throws Exception(Code)(Java Doc)
public void setUninstallOrder(String order) throws Exception(Code)(Java Doc)

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.