Java Doc for AbstractScriptGenerator.java in  » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » internal » build » 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 » IDE Eclipse » Eclipse plug in development » org.eclipse.pde.internal.build 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.pde.internal.build.AbstractScriptGenerator

All known Subclasses:   org.eclipse.pde.internal.build.AssembleConfigScriptGenerator,  org.eclipse.pde.internal.build.builder.AbstractBuildScriptGenerator,  org.eclipse.pde.internal.build.ProductGenerator,  org.eclipse.pde.internal.build.BuildScriptGenerator,  org.eclipse.pde.internal.build.packager.UnzipperGenerator,  org.eclipse.pde.internal.build.packager.FetchFileGenerator,  org.eclipse.pde.internal.build.FetchScriptGenerator,  org.eclipse.pde.internal.build.AssembleScriptGenerator,  org.eclipse.pde.internal.build.FeatureGenerator,
AbstractScriptGenerator
abstract public class AbstractScriptGenerator implements IXMLConstants,IPDEBuildConstants,IBuildPropertiesConstants(Code)
Generic super-class for all script generator classes. It contains basic informations like the script, the configurations, and a location

Inner Class :public static class MissingProperties extends Properties

Field Summary
protected static  booleanbuildingOSGi
    
protected static  booleanembeddedSource
    
protected  ListfeaturesForFilterRoots
    
protected  booleanfilterState
    
protected static  booleanforceUpdateJarFormat
    
protected  PropertiesplatformProperties
    
protected  String[]pluginPath
    
protected  ListpluginsForFilterRoots
    
protected  booleanreportResolutionErrors
    
protected  AntScriptscript
    
protected  BuildTimeSiteFactorysiteFactory
    
protected  String[]sitePaths
     Location of the plug-ins and fragments.
protected static  StringworkingDirectory
    


Method Summary
public  voidcloseScript()
    
protected  StringfindFile(String location, boolean makeRelative)
    
protected  voidflushState()
    
abstract public  voidgenerate()
     Starting point for script generation.
public static  ListgetConfigInfos()
    
public static  booleangetDefaultBuildingOSGi()
    
public static  StringgetDefaultConfigInfos()
    
public static  booleangetDefaultEmbeddedSource()
    
public static  StringgetDefaultOutputFormat()
    
public static  booleangetForceUpdateJarFormat()
    
public static  StringgetImmutableAntProperty(String key)
    
public static  StringgetImmutableAntProperty(String key, String defaultValue)
    
public  StringgetLocation(BundleDescription model)
     Return the file system location for the given plug-in model object.
public  String[]getPluginPath()
    
public static  booleangetPropertyAsBoolean(String key)
    
public  BuildTimeSitegetSite(boolean refresh)
     Return a build time site referencing things to be built.
public static  StringgetWorkingDirectory()
    
protected  booleanhavePDEUIState()
    
public static  booleanisBuildingOSGi()
    
public  voidopenScript(String scriptLocation, String scriptName)
    
public static  PropertiesreadProperties(String location, String fileName, int errorLevel)
    
public  voidsetBuildSiteFactory(BuildTimeSiteFactory siteFactory)
    
public  voidsetBuildingOSGi(boolean b)
    
public static  voidsetConfigInfo(String spec)
    
public static  voidsetEmbeddedSource(boolean embed)
    
public  voidsetFilterState(boolean filter)
    
public static  voidsetForceUpdateJar(boolean force)
    
public  voidsetNextId(long nextId)
    
public  voidsetPDEState(State state)
    
public  voidsetPlatformProperties(String filename)
    
public  voidsetPluginPath(String[] path)
     Sets the pluginPath.
public  voidsetStateExtraData(HashMap classpath, Map patchData)
    
protected static  voidsetStaticAntProperties(Properties properties)
    
public  voidsetWorkingDirectory(String location)
    

Field Detail
buildingOSGi
protected static boolean buildingOSGi(Code)



embeddedSource
protected static boolean embeddedSource(Code)



featuresForFilterRoots
protected List featuresForFilterRoots(Code)



filterState
protected boolean filterState(Code)
Indicate whether the content of the pdestate should only contain the plugins that are in the transitive closure of the features being built



forceUpdateJarFormat
protected static boolean forceUpdateJarFormat(Code)



platformProperties
protected Properties platformProperties(Code)



pluginPath
protected String[] pluginPath(Code)



pluginsForFilterRoots
protected List pluginsForFilterRoots(Code)



reportResolutionErrors
protected boolean reportResolutionErrors(Code)



script
protected AntScript script(Code)



siteFactory
protected BuildTimeSiteFactory siteFactory(Code)



sitePaths
protected String[] sitePaths(Code)
Location of the plug-ins and fragments.



workingDirectory
protected static String workingDirectory(Code)





Method Detail
closeScript
public void closeScript()(Code)



findFile
protected String findFile(String location, boolean makeRelative)(Code)



flushState
protected void flushState()(Code)



generate
abstract public void generate() throws CoreException(Code)
Starting point for script generation. See subclass implementations for individual comments.
throws:
  CoreException -



getConfigInfos
public static List getConfigInfos()(Code)



getDefaultBuildingOSGi
public static boolean getDefaultBuildingOSGi()(Code)



getDefaultConfigInfos
public static String getDefaultConfigInfos()(Code)



getDefaultEmbeddedSource
public static boolean getDefaultEmbeddedSource()(Code)



getDefaultOutputFormat
public static String getDefaultOutputFormat()(Code)



getForceUpdateJarFormat
public static boolean getForceUpdateJarFormat()(Code)



getImmutableAntProperty
public static String getImmutableAntProperty(String key)(Code)



getImmutableAntProperty
public static String getImmutableAntProperty(String key, String defaultValue)(Code)



getLocation
public String getLocation(BundleDescription model)(Code)
Return the file system location for the given plug-in model object.
Parameters:
  model - the plug-in String



getPluginPath
public String[] getPluginPath()(Code)
Return the path of the plugins //TODO Do we need to add support for features, or do we simply consider one list of URL? It is just a matter of style/ URL[]



getPropertyAsBoolean
public static boolean getPropertyAsBoolean(String key)(Code)



getSite
public BuildTimeSite getSite(boolean refresh) throws CoreException(Code)
Return a build time site referencing things to be built.
Parameters:
  refresh - : indicate if a refresh must be performed. Although this flag is set to true, a new site is not rebuild if the urls of the site did not changed BuildTimeSite
throws:
  CoreException -



getWorkingDirectory
public static String getWorkingDirectory()(Code)



havePDEUIState
protected boolean havePDEUIState()(Code)



isBuildingOSGi
public static boolean isBuildingOSGi()(Code)



openScript
public void openScript(String scriptLocation, String scriptName) throws CoreException(Code)



readProperties
public static Properties readProperties(String location, String fileName, int errorLevel) throws CoreException(Code)



setBuildSiteFactory
public void setBuildSiteFactory(BuildTimeSiteFactory siteFactory)(Code)



setBuildingOSGi
public void setBuildingOSGi(boolean b)(Code)



setConfigInfo
public static void setConfigInfo(String spec) throws CoreException(Code)



setEmbeddedSource
public static void setEmbeddedSource(boolean embed)(Code)



setFilterState
public void setFilterState(boolean filter)(Code)



setForceUpdateJar
public static void setForceUpdateJar(boolean force)(Code)



setNextId
public void setNextId(long nextId)(Code)



setPDEState
public void setPDEState(State state)(Code)



setPlatformProperties
public void setPlatformProperties(String filename)(Code)



setPluginPath
public void setPluginPath(String[] path)(Code)
Sets the pluginPath.
Parameters:
  path -



setStateExtraData
public void setStateExtraData(HashMap classpath, Map patchData)(Code)



setStaticAntProperties
protected static void setStaticAntProperties(Properties properties)(Code)



setWorkingDirectory
public void setWorkingDirectory(String location)(Code)



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.