Java Doc for SpoonTask.java in  » Code-Analyzer » Spoon » spoon » 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 » Code Analyzer » Spoon » spoon 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


spoon.SpoonTask

All known Subclasses:   spoon.LtSpoonTask,  spoon.aval.AValTask,
SpoonTask
public class SpoonTask extends Java (Code)
This class implements an Ant task for Spoon that encapsulates spoon.Launcher .

Inner Class :public static class ProcessorType

Field Summary
 Filebuild
    
 Stringclassname
    
 booleancompile
    
 booleandebug
    
 booleanfragments
    
 Fileinput
    
 intjavaCompliance
    
 booleannooutput
    
 Fileoutput
    
 List<ProcessorType>processorTypes
    
 Fileproperties
    
 Vector<FileSet>sourcefilesets
    
 Filespoonlet
    
 Vector<FileSet>spoonletfileset
    
 booleanstats
    
 inttabSize
    
 booleantabs
    
 Filetemplate
    
 Vector<FileSet>templatefilesets
    
 booleanverbose
    

Constructor Summary
public  SpoonTask()
     Constructor.

Method Summary
public  voidaddProcessor(ProcessorType processorType)
     Adds a new processor type to be instantiated and used by Spoon when processing the code.
public  voidaddSourceSet(FileSet set)
     Adds a source set.
public  voidaddSpoonletSet(FileSet set)
    
public  voidaddTemplateSet(FileSet set)
     Adds a template source set.
public  voidexecute()
     Executes the task.
public  voidsetBuild(File build)
     Sets the output directory for generated sources.
public  voidsetClassName(String classname)
     Sets the name of the laucher to be used.
public  voidsetCompile(boolean compile)
     Sets Spoon to be in verbose mode.
public  voidsetDebug(boolean debug)
     Sets Spoon to be in debug mode.
public  voidsetFragments(boolean fragments)
     Sets Spoon to use source code fragment driven generation technique (preserves original formatting).
public  voidsetInput(File input)
     Sets a file or a directory to be processed (no templates, see SpoonTask.setTemplate(File) ).
public  voidsetJavaCompliance(int javaCompliance)
     Sets the java14 property (to be able to parse java 1.4 source files).
public  voidsetNoOutput(boolean nooutput)
     Tells Spoon not to generate any files.
public  voidsetOutput(File output)
     Sets the output directory for generated sources.
public  voidsetProperties(File properties)
     Sets the root directory where the processors' properties XML configuration files are located.
public  voidsetSpoonlet(File spoonlet)
     Sets a Spoolet to be deployed.
public  voidsetStats(boolean stats)
     Enables/disable printing out statistics on Spoon execution time.
public  voidsetTabSize(int tabSize)
     Sets the tabulation size (default is 4 spaces).
public  voidsetTabs(boolean tabs)
     Sets Spoon to use tabulations instead of spaces when printing source.
public  voidsetTemplate(File template)
     Sets a file or a directory to be processed (only templates, see SpoonTask.setInput(File) ).
public  voidsetVerbose(boolean verbose)
     Sets Spoon to be in verbose mode.

Field Detail
build
File build(Code)



classname
String classname(Code)



compile
boolean compile(Code)



debug
boolean debug(Code)



fragments
boolean fragments(Code)



input
File input(Code)



javaCompliance
int javaCompliance(Code)



nooutput
boolean nooutput(Code)



output
File output(Code)



processorTypes
List<ProcessorType> processorTypes(Code)



properties
File properties(Code)



sourcefilesets
Vector<FileSet> sourcefilesets(Code)



spoonlet
File spoonlet(Code)



spoonletfileset
Vector<FileSet> spoonletfileset(Code)



stats
boolean stats(Code)



tabSize
int tabSize(Code)



tabs
boolean tabs(Code)



template
File template(Code)



templatefilesets
Vector<FileSet> templatefilesets(Code)



verbose
boolean verbose(Code)




Constructor Detail
SpoonTask
public SpoonTask()(Code)
Constructor.




Method Detail
addProcessor
public void addProcessor(ProcessorType processorType)(Code)
Adds a new processor type to be instantiated and used by Spoon when processing the code.



addSourceSet
public void addSourceSet(FileSet set)(Code)
Adds a source set.



addSpoonletSet
public void addSpoonletSet(FileSet set)(Code)



addTemplateSet
public void addTemplateSet(FileSet set)(Code)
Adds a template source set.



execute
public void execute() throws BuildException(Code)
Executes the task.



setBuild
public void setBuild(File build)(Code)
Sets the output directory for generated sources.



setClassName
public void setClassName(String classname)(Code)
Sets the name of the laucher to be used.



setCompile
public void setCompile(boolean compile)(Code)
Sets Spoon to be in verbose mode.



setDebug
public void setDebug(boolean debug)(Code)
Sets Spoon to be in debug mode.



setFragments
public void setFragments(boolean fragments)(Code)
Sets Spoon to use source code fragment driven generation technique (preserves original formatting).



setInput
public void setInput(File input)(Code)
Sets a file or a directory to be processed (no templates, see SpoonTask.setTemplate(File) ).



setJavaCompliance
public void setJavaCompliance(int javaCompliance)(Code)
Sets the java14 property (to be able to parse java 1.4 source files).



setNoOutput
public void setNoOutput(boolean nooutput)(Code)
Tells Spoon not to generate any files.



setOutput
public void setOutput(File output)(Code)
Sets the output directory for generated sources.



setProperties
public void setProperties(File properties)(Code)
Sets the root directory where the processors' properties XML configuration files are located.



setSpoonlet
public void setSpoonlet(File spoonlet)(Code)
Sets a Spoolet to be deployed.
Parameters:
  spoonlet - the deployment descriptor file (usually spoon.xml)



setStats
public void setStats(boolean stats)(Code)
Enables/disable printing out statistics on Spoon execution time.



setTabSize
public void setTabSize(int tabSize)(Code)
Sets the tabulation size (default is 4 spaces).



setTabs
public void setTabs(boolean tabs)(Code)
Sets Spoon to use tabulations instead of spaces when printing source.



setTemplate
public void setTemplate(File template)(Code)
Sets a file or a directory to be processed (only templates, see SpoonTask.setInput(File) ).



setVerbose
public void setVerbose(boolean verbose)(Code)
Sets Spoon to be in verbose mode.



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