Java Doc for LoadGeneratorTask.java in  » Database-JDBC-Connection-Pool » octopus » org » webdocwf » util » loader » task » 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 » Database JDBC Connection Pool » octopus » org.webdocwf.util.loader.task 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.webdocwf.util.loader.task.LoadGeneratorTask

LoadGeneratorTask
public class LoadGeneratorTask extends Task (Code)
LoaderGenerator Task class extends jakarta-ant Task class and uses to start LoaderGenerator application as a jakarta-ant task in build.xml file.


sourceType, defines the type of the source database. Default value is 'msql'.
targetType, defines the type of the target database. Default value is 'msql'.
sourceDriverName, defines the driver of defined source database.
targetDriverName, defines the driver of defined target database.
sourceDataBase, defines the place where you're put the source database tables.
targetDataBase, defines the place where you're put the target database tables.
valueMode, defines the difference from overwrite and update attribute. If the valueMode
has value 'copy', attribute has value 'Overwrite', or if the valueMode has value 'sync', attribute
has value 'Update'. Default value of valueMode is 'copy'.
generatorOutput, is optional. That represent the directory, where the Octopus place created files.
If this argument don't exists, Octopus place created files in to current directory!
sourceUser, defines the user of the source database.
sourcePassword, defines the user password for the source database.
targetUser, defines the user of the target database.
targetPassword, defines the user password for the target database.
domlUrl, defines the place where the doml file is placed.
outputMode, defines which document you wont to generate. If the generateDoc has value
all, application generates xml, sql and doml files as ouput files. If the generateDoc has value
doml, application generates only the doml file, and if generateDoc has the value wdoml, application
generates xml and sql files.
packageName, defines the package name for the generated doml file.
generateDropTableStmt, defines if you want to generate only Sql statement for DROP TABLE.


author:
   Radoslav Dutina
version:
   1.0


Field Summary
protected  StringconfJarStructure
    
protected  StringdomlUrl
    
protected  StringfullMode
    
protected  StringgenerateCreateFKStmt
    
protected  StringgenerateCreateIndexStmt
    
protected  StringgenerateCreatePKStmt
    
protected  StringgenerateCreateTableStmt
    
protected  StringgenerateDoml
    
protected  StringgenerateDropIntegrityStmt
    
protected  StringgenerateDropTableStmt
    
protected  StringgenerateSqlForAllVendors
    
protected  StringgenerateXml
    
protected  StringgeneratorOutput
    
protected  StringincludeTableList
    
protected  StringlogDirName
    
protected  StringlogFileName
    
protected  StringlogMode
    
protected  StringoctopusHome
    
protected  StringpackageName
    
protected  StringrestoreMode
    
protected  StringsourceDataBase
    
protected  StringsourceDriverName
    
protected  StringsourcePassword
    
protected  StringsourceType
    
protected  StringsourceUser
    
protected  StringtargetDataBase
    
protected  StringtargetDriverName
    
protected  StringtargetPassword
    
protected  StringtargetType
    
protected  StringtargetUser
    
protected  StringvalueMode
    

Constructor Summary
public  LoadGeneratorTask()
     Construct object LoadGeneratorTask.

Method Summary
public  voidexecute()
    
public  voidsetConfJarStructure(String confJarStructure)
    
public  voidsetDomlUrl(String domlUrl)
     This method read the value of domlPath parameter.
public  voidsetFullMode(String fullMode)
    
public  voidsetGenerateCreateFKStmt(String generateCreateFKStmt)
    
public  voidsetGenerateCreateIndexStmt(String generateCreateIndexStmt)
    
public  voidsetGenerateCreatePKStmt(String generateCreatePKStmt)
    
public  voidsetGenerateCreateTableStmt(String generateCreateTableStmt)
    
public  voidsetGenerateDoml(String generateDoml)
     This method sets the value of generateDoml parameter.
public  voidsetGenerateDropIntegrityStmt(String generateDropIntegrityStmt)
     This method sets the value of generateDropIntegrityStmt parameter.
public  voidsetGenerateDropTableStmt(String generateDropTableStmt)
    
public  voidsetGenerateSqlForAllVendors(String generateSqlForAllVendors)
    
public  voidsetGenerateXml(String generateXml)
    
public  voidsetGeneratorOutput(String generatorOutput)
     This method read the value of generatorOutput parameter.
public  voidsetIncludeTableList(String includeTableList)
     This method sets the value of includeTableList parameter.
public  voidsetLogDirName(String logDirName)
    
public  voidsetLogFileName(String logFileName)
    
public  voidsetLogMode(String logMode)
    
public  voidsetOctopusHome(String octopusHome)
     This method sets the value of octopusHome parameter.
public  voidsetPackageName(String packageName)
     This method read the value of packageName parameter.
public  voidsetSourceDataBase(String sourceDataBase)
     This method read the value of sourceDataBase parameter.
public  voidsetSourceDriverName(String sourceDriverName)
     This method read the value of sourceDriverName parameter.
public  voidsetSourcePassword(String sourcePassword)
     This method read the value of sourcePassword parameter.
public  voidsetSourceType(String sourceType)
     This method sets the value of sourceType parameter.
public  voidsetSourceUser(String sourceUser)
     This method read the value of sourceUser parameter.
public  voidsetTargetDataBase(String targetDataBase)
     This method read the value of targetDataBase parameter.
public  voidsetTargetDriverName(String targetDriverName)
     This method read the value of targetDriverName parameter.
public  voidsetTargetPassword(String targetPassword)
     This method read the value of targetPassword parameter.
public  voidsetTargetType(String targetType)
     This method sets the value of targetType parameter.
public  voidsetTargetUser(String targetUser)
     This method read the value of targetUser parameter.
public  voidsetValueMode(String valueMode)
     This method read the value of valueMode parameter.

Field Detail
confJarStructure
protected String confJarStructure(Code)



domlUrl
protected String domlUrl(Code)



fullMode
protected String fullMode(Code)



generateCreateFKStmt
protected String generateCreateFKStmt(Code)



generateCreateIndexStmt
protected String generateCreateIndexStmt(Code)



generateCreatePKStmt
protected String generateCreatePKStmt(Code)



generateCreateTableStmt
protected String generateCreateTableStmt(Code)



generateDoml
protected String generateDoml(Code)



generateDropIntegrityStmt
protected String generateDropIntegrityStmt(Code)



generateDropTableStmt
protected String generateDropTableStmt(Code)



generateSqlForAllVendors
protected String generateSqlForAllVendors(Code)



generateXml
protected String generateXml(Code)



generatorOutput
protected String generatorOutput(Code)



includeTableList
protected String includeTableList(Code)



logDirName
protected String logDirName(Code)



logFileName
protected String logFileName(Code)



logMode
protected String logMode(Code)



octopusHome
protected String octopusHome(Code)



packageName
protected String packageName(Code)



restoreMode
protected String restoreMode(Code)



sourceDataBase
protected String sourceDataBase(Code)



sourceDriverName
protected String sourceDriverName(Code)



sourcePassword
protected String sourcePassword(Code)



sourceType
protected String sourceType(Code)



sourceUser
protected String sourceUser(Code)



targetDataBase
protected String targetDataBase(Code)



targetDriverName
protected String targetDriverName(Code)



targetPassword
protected String targetPassword(Code)



targetType
protected String targetType(Code)



targetUser
protected String targetUser(Code)



valueMode
protected String valueMode(Code)




Constructor Detail
LoadGeneratorTask
public LoadGeneratorTask()(Code)
Construct object LoadGeneratorTask.




Method Detail
execute
public void execute() throws org.apache.tools.ant.BuildException(Code)

throws:
  org.apache.tools.ant.BuildException -



setConfJarStructure
public void setConfJarStructure(String confJarStructure)(Code)
This method set value of confJarStructure parameter
Parameters:
  confJarStructure - is value of parameter



setDomlUrl
public void setDomlUrl(String domlUrl)(Code)
This method read the value of domlPath parameter.
Parameters:
  domlUrl - is the value of parameter.



setFullMode
public void setFullMode(String fullMode)(Code)
This method set value of fullMode parameter
Parameters:
  fullMode - is value of parameter



setGenerateCreateFKStmt
public void setGenerateCreateFKStmt(String generateCreateFKStmt)(Code)
This method set value of generateCreateFKStmt parameter
Parameters:
  generateCreateFKStmt - is value of parameter



setGenerateCreateIndexStmt
public void setGenerateCreateIndexStmt(String generateCreateIndexStmt)(Code)
This method set value of generateCreateIndexStmt parameter
Parameters:
  generateCreateIndexStmt - is value of parameter



setGenerateCreatePKStmt
public void setGenerateCreatePKStmt(String generateCreatePKStmt)(Code)
This method set value of generateCreatePKStmt parameter
Parameters:
  generateCreatePKStmt - is value of parameter



setGenerateCreateTableStmt
public void setGenerateCreateTableStmt(String generateCreateTableStmt)(Code)
This method set value of generateCreateTableStmt parameter
Parameters:
  generateCreateTableStmt - is value of parameter



setGenerateDoml
public void setGenerateDoml(String generateDoml)(Code)
This method sets the value of generateDoml parameter.
Parameters:
  generateDoml - is the value of parameter.



setGenerateDropIntegrityStmt
public void setGenerateDropIntegrityStmt(String generateDropIntegrityStmt)(Code)
This method sets the value of generateDropIntegrityStmt parameter.
Parameters:
  generateDropIntegrityStmt - is the value of parameter.



setGenerateDropTableStmt
public void setGenerateDropTableStmt(String generateDropTableStmt)(Code)
This method set value of generateDropTableStmt parameter
Parameters:
  generateDropTableStmt - is value of parameter



setGenerateSqlForAllVendors
public void setGenerateSqlForAllVendors(String generateSqlForAllVendors)(Code)
This method set value for generateSqlForAllVendors
Parameters:
  generateSqlForAllVendors -



setGenerateXml
public void setGenerateXml(String generateXml)(Code)
This method set value of generateXml parameter
Parameters:
  generateXml - is value of parameter



setGeneratorOutput
public void setGeneratorOutput(String generatorOutput)(Code)
This method read the value of generatorOutput parameter.
Parameters:
  generatorOutput - is the value of parameter.



setIncludeTableList
public void setIncludeTableList(String includeTableList)(Code)
This method sets the value of includeTableList parameter.
Parameters:
  includeTableList - is the value of parameter.



setLogDirName
public void setLogDirName(String logDirName)(Code)
This method set value of logDirName parameter
Parameters:
  logDirName - is value of parameter



setLogFileName
public void setLogFileName(String logFileName)(Code)
This method set value of logFileName parameter
Parameters:
  logFileName - is value of parameter



setLogMode
public void setLogMode(String logMode)(Code)
This method set value of logMode parameter
Parameters:
  logMode - is value of parameter



setOctopusHome
public void setOctopusHome(String octopusHome)(Code)
This method sets the value of octopusHome parameter.
Parameters:
  octopusHome - is the value of parameter.



setPackageName
public void setPackageName(String packageName)(Code)
This method read the value of packageName parameter.
Parameters:
  packageName - is the value of parameter.



setSourceDataBase
public void setSourceDataBase(String sourceDataBase)(Code)
This method read the value of sourceDataBase parameter.
Parameters:
  sourceDataBase - is the value of parameter.



setSourceDriverName
public void setSourceDriverName(String sourceDriverName)(Code)
This method read the value of sourceDriverName parameter.
Parameters:
  sourceDriverName - is the value of parameter.



setSourcePassword
public void setSourcePassword(String sourcePassword)(Code)
This method read the value of sourcePassword parameter.
Parameters:
  sourcePassword - is the value of parameter.



setSourceType
public void setSourceType(String sourceType)(Code)
This method sets the value of sourceType parameter.
Parameters:
  sourceType - is the value of parameter.



setSourceUser
public void setSourceUser(String sourceUser)(Code)
This method read the value of sourceUser parameter.
Parameters:
  sourceUser - is the value of parameter.



setTargetDataBase
public void setTargetDataBase(String targetDataBase)(Code)
This method read the value of targetDataBase parameter.
Parameters:
  targetDataBase - is the value of parameter.



setTargetDriverName
public void setTargetDriverName(String targetDriverName)(Code)
This method read the value of targetDriverName parameter.
Parameters:
  targetDriverName - is the value of parameter.



setTargetPassword
public void setTargetPassword(String targetPassword)(Code)
This method read the value of targetPassword parameter.
Parameters:
  targetPassword - is the value of parameter.



setTargetType
public void setTargetType(String targetType)(Code)
This method sets the value of targetType parameter.
Parameters:
  targetType - is the value of parameter.



setTargetUser
public void setTargetUser(String targetUser)(Code)
This method read the value of targetUser parameter.
Parameters:
  targetUser - is the value of parameter.



setValueMode
public void setValueMode(String valueMode)(Code)
This method read the value of valueMode parameter.
Parameters:
  valueMode - is the value of parameter.



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