Java Doc for MetaBossBuilderTask.java in  » UML » MetaBoss » com » metaboss » sdlctools » applications » anttasks » builder » 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 » UML » MetaBoss » com.metaboss.sdlctools.applications.anttasks.builder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.metaboss.sdlctools.applications.anttasks.MetaBossModelToolTask
   com.metaboss.sdlctools.applications.anttasks.builder.MetaBossBuilderTask

MetaBossBuilderTask
public class MetaBossBuilderTask extends MetaBossModelToolTask (Code)
The MetaBoss Enterprise Modules builder task. This task can generate, compile and package any number of modules based on the enterprise model. It implements Model Driven approach to build where the definition contains information "what to build" rather than "how to build". Apart from that this task of course requires some more traditionally looking And attributes defining the build environment.

In addition to atttributes supported by com.metaboss.sdlctools.applications.anttasks.MetaBossModelToolTask MetaBossModelToolTask , this task supports following attributes:
Attribute Name Attribute Description Required
version Optional string attribute used to specify the version of the build. If it is specified, the file name of every module produced by this build will contain given version expression. No
debug Optional boolean attribute used to specify whether this build is a debug build. Default value is 'false', which means that produced modules will not contain debug information. No
turbobuild Optional boolean attribute used to specify whether this build should aim for a speed (turbobuild='true') or low memory usage (turbobuild='false'). Default value is 'true', which means that the build will attempt to run as fast as posible which uses more memory. No
compileclasspath The optional path to use as additional classpath during compilation. This may be necessary when inserted handcoded implementation classes have compile time dependencies on other third party jar files. No
gendir The mandatory directory location where intermediate java source files shall be stored. Directory will be created if it does not exist. Directory will be cleared of any existing files if it does exists. Yes
classdir The mandatory directory location where intermediate java class files shall be stored. Directory will be created if it does not exist. Directory will be cleared of any existing files if it does exists. Yes
libdir The mandatory directory location where produced java archives files shall be stored. Directory will be created if it does not exist Yes
typessrcdir The optional directory location where hand coded data types java source resides. This directory will be used to search for custom data types source (ie. DataTypes which are not realised by any of the TypeTemplates. No
implssrcdir The optional directory location where hand coded service implementation java source resides. This directory will be used to search for business services custom source. No
srcdir The optional directory location where hand coded java source resides. This directory will be used to search for custom data types and custome service implementations. Note that if sources for data types and implementations reside in different directories, attributes 'typessrcdir' and 'implssrcdir' should be used. No

Subelements of this task are definitions of the build results. Following subelements are supported:

  • BusinessServicesInterfaceModule - this element requres builder to produce the module with external public interfaces to the business servcies layer. It always contains service interfaces, structures and primitive data types. It may optionally contain code for adapters, including custme generated ones.



Field Summary
protected  ListmModules
    

Constructor Summary
public  MetaBossBuilderTask()
    

Method Summary
public  voidaddListener(MetaBossBuilderTaskListener pListener)
    
public  BusinessDomainsImplementationModuleDefinitioncreateBusinessDomainsImplementationModule()
    
public  BusinessServicesDistributionModuleDefinitioncreateBusinessServicesDistributionModule()
    
public  BusinessServicesImplementationModuleDefinitioncreateBusinessServicesImplementationModule()
    
public  BusinessServicesInterfaceModuleDefinitioncreateBusinessServicesInterfaceModule()
    
public  PathcreateCompileClasspath()
    
public  DataDictionaryModuleDefinitioncreateDataDictionaryModule()
    
public  WebServicesServerModuleDefinitioncreateWebServicesServerModule()
    
public  FilegetClassDir()
    
public  PathgetCompileClasspath()
    
public  FilegetGenDir()
    
public  FilegetImplsSrcDir()
    
public  FilegetLibDir()
    
public  CollectiongetModules()
    
public  FilegetTypesSrcDir()
    
public  StringgetVersionToken()
    
public  booleanisArtefactPresentOnCompileClasspath(String pGeneratorId, String pModelElementRef)
    
public  booleanisDebugBuild()
    
public  booleanisTurboBuild()
    
public  voidrunTool()
    
public  voidsetClassdir(File pClassDir)
    
public  voidsetCompileClasspath(Path pCompileClasspath)
    
public  voidsetDebug(boolean pIsDebug)
    
public  voidsetGenDir(File pGenDir)
    
public  voidsetImplsSrcDir(File pSrcDir)
    
public  voidsetLibDir(File pLibDir)
    
public  voidsetSrcDir(File pSrcDir)
    
public  voidsetTurboBuild(boolean pTurboBuild)
    
public  voidsetTypesSrcDir(File pSrcDir)
    
public  voidsetVersion(String pVersionToken)
    

Field Detail
mModules
protected List mModules(Code)




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




Method Detail
addListener
public void addListener(MetaBossBuilderTaskListener pListener)(Code)
Adds listener to the internal list



createBusinessDomainsImplementationModule
public BusinessDomainsImplementationModuleDefinition createBusinessDomainsImplementationModule()(Code)
The special creator asking to build BusinessDomainsImplementationModuleDefinition



createBusinessServicesDistributionModule
public BusinessServicesDistributionModuleDefinition createBusinessServicesDistributionModule()(Code)
The special creator asking to build SystemInterfaceModule



createBusinessServicesImplementationModule
public BusinessServicesImplementationModuleDefinition createBusinessServicesImplementationModule()(Code)
The special creator asking to build BusinessServicesImplementationModule



createBusinessServicesInterfaceModule
public BusinessServicesInterfaceModuleDefinition createBusinessServicesInterfaceModule()(Code)
The special creator asking to build SystemInterfaceModule



createCompileClasspath
public Path createCompileClasspath()(Code)
The special creator asking to build compile classpath



createDataDictionaryModule
public DataDictionaryModuleDefinition createDataDictionaryModule()(Code)
The special creator asking to build SystemInterfaceModule



createWebServicesServerModule
public WebServicesServerModuleDefinition createWebServicesServerModule()(Code)
The special creator asking to build WebServicesServerModule



getClassDir
public File getClassDir() throws BuildException(Code)



getCompileClasspath
public Path getCompileClasspath()(Code)



getGenDir
public File getGenDir()(Code)
The getter for the 'gendir' attribute



getImplsSrcDir
public File getImplsSrcDir() throws BuildException(Code)



getLibDir
public File getLibDir()(Code)
The getter for the 'libdir' attribute



getModules
public Collection getModules()(Code)
Returns read-only collection of the modules contained in this builder



getTypesSrcDir
public File getTypesSrcDir() throws BuildException(Code)



getVersionToken
public String getVersionToken() throws BuildException(Code)



isArtefactPresentOnCompileClasspath
public boolean isArtefactPresentOnCompileClasspath(String pGeneratorId, String pModelElementRef)(Code)



isDebugBuild
public boolean isDebugBuild()(Code)
The getter for the "debug" attribute



isTurboBuild
public boolean isTurboBuild()(Code)
The getter for the "turbobuild" attribute



runTool
public void runTool() throws Exception(Code)



setClassdir
public void setClassdir(File pClassDir)(Code)



setCompileClasspath
public void setCompileClasspath(Path pCompileClasspath)(Code)



setDebug
public void setDebug(boolean pIsDebug)(Code)
The setter for the "debug" attribute



setGenDir
public void setGenDir(File pGenDir)(Code)
The setter for the "gendir" attribute



setImplsSrcDir
public void setImplsSrcDir(File pSrcDir)(Code)



setLibDir
public void setLibDir(File pLibDir)(Code)
The setter for the "libdir" attribute



setSrcDir
public void setSrcDir(File pSrcDir)(Code)



setTurboBuild
public void setTurboBuild(boolean pTurboBuild)(Code)
The setter for the "turbobuild" attribute



setTypesSrcDir
public void setTypesSrcDir(File pSrcDir)(Code)



setVersion
public void setVersion(String pVersionToken) throws BuildException(Code)



Methods inherited from com.metaboss.sdlctools.applications.anttasks.MetaBossModelToolTask
public void addConfiguredEnv(NameValuePairType pEnvironment) throws BuildException(Code)(Java Doc)
public void addConfiguredParam(NameValuePairType pParameter) throws BuildException(Code)(Java Doc)
public void execute() throws BuildException(Code)(Java Doc)
public ModelElement findModelElement(String pModelElementRef, Class[] pExpectedClasses) throws BuildException(Code)(Java Doc)
public ModelElement[] findModelElementsByXPath(ModelElement pContextElement, String pModelElementXPath, Class[] pExpectedClasses) throws BuildException(Code)(Java Doc)
protected Properties getInvocationEnvironment()(Code)(Java Doc)
protected Properties getInvocationParameters()(Code)(Java Doc)
public File getModelDir() throws BuildException(Code)(Java Doc)
public ModelElement getModelElement(String pModelElementRef, Class[] pExpectedClasses) throws BuildException(Code)(Java Doc)
public String getModelName() throws BuildException(Code)(Java Doc)
public MetaBossModelPackage getModelRootPackage() throws BuildException(Code)(Java Doc)
public ModelElement getRootModelElement() throws BuildException(Code)(Java Doc)
abstract public void runTool() throws Exception(Code)(Java Doc)
public void setModeldir(File pModelDir) throws BuildException(Code)(Java Doc)
public void setRef(String pRef) throws BuildException(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.