Java Doc for JBlanketTask.java in  » Code-Analyzer » JBlanket » csdl » jblanket » ant » 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 » JBlanket » csdl.jblanket.ant 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


csdl.jblanket.ant.JBlanketTask

All known Subclasses:   csdl.jblanket.ant.JBlanketModifierTask,  csdl.jblanket.ant.JBlanketAppTask,  csdl.jblanket.ant.JBlanketReportTask,
JBlanketTask
abstract public class JBlanketTask extends Task (Code)
Provides description for JBlanket related Apache Ant taskdefs.
author:
   Joy M. Agustin
version:
   $Id: JBlanketTask.java,v 1.1 2004/11/07 00:32:32 timshadel Exp $id


Field Summary
protected  StringconstructorFile
    
protected  booleanenable
    
protected  booleanexcludeConstructors
    
protected  booleanexcludeIndividualMethods
    
protected  booleanexcludeOneLineMethods
    
protected  StringexcludedIndividualFile
    
protected  StringoneLineFile
    
protected  StringtotalFile
    
protected  booleanverbose
    

Constructor Summary
public  JBlanketTask()
     Constructs a new JBlanketTask object.

Method Summary
public  voidaddConfiguredSysproperty(Environment.Variable systemProperty)
     Adds a system property.
public  voidsetConstructorfile(String constructorFile)
     Sets the name of the XML file for constructors.
public  voidsetEnable(String enable)
     Describes whether the task should be enabled.
public  voidsetExcludeconstructors(String excludeConstructors)
     Describes whether constructors should be excluded from the coverage measurement.
public  voidsetExcludedindividualfile(String excludedIndividualFile)
     Sets the name of the XML file for individually excluded methods.
public  voidsetExcludeindividualmethods(String excludeIndividualMethods)
     Describes whether individual methods should be excluded from the coverage measurement.
public  voidsetExcludeonelinemethods(String excludeOneLineMethods)
     Describes whether one-line methods should be excluded from the coverage measurement.
public  voidsetFork(String value)
     Tells whether a JVM should be forked for each testcase -- not implemented.

It avoids interference between testcases and possibly avoids hanging the build.

public  voidsetOnelinefile(String oneLineFile)
     Sets the name of the XML file for methods containing one line of source code.
public  voidsetPrintsummary(String value)
     Tells whether the task should print a short summary of the task -- not implemeneted.

NOTE: possible future addition.

public  voidsetTotalfile(String totalFile)
     Sets the name of the XML file for all methods in the system.
public  voidsetVerbose(String value)
     Describes whether additional output should be sent to standard out.

Field Detail
constructorFile
protected String constructorFile(Code)
Name of file for constructors



enable
protected boolean enable(Code)
Describes if should execute JBlanket task



excludeConstructors
protected boolean excludeConstructors(Code)
Describes if constructors were excluded from coverage



excludeIndividualMethods
protected boolean excludeIndividualMethods(Code)
Describes if individual methods were excluded from coverage



excludeOneLineMethods
protected boolean excludeOneLineMethods(Code)
Describes if one-line methods were excluded from coveage



excludedIndividualFile
protected String excludedIndividualFile(Code)
Name of file for individually excluded methods



oneLineFile
protected String oneLineFile(Code)
Name of file for methods containing only one line of source code



totalFile
protected String totalFile(Code)
Name of file for total methods



verbose
protected boolean verbose(Code)
Describes if additional output should be sent to standard out




Constructor Detail
JBlanketTask
public JBlanketTask()(Code)
Constructs a new JBlanketTask object.




Method Detail
addConfiguredSysproperty
public void addConfiguredSysproperty(Environment.Variable systemProperty)(Code)
Adds a system property. systemProperty contains the values in the <sysproperty> nested element and is added to the system properties.
Parameters:
  systemProperty - the system property to add.



setConstructorfile
public void setConstructorfile(String constructorFile)(Code)
Sets the name of the XML file for constructors.
Parameters:
  constructorFile - the constructor file name.



setEnable
public void setEnable(String enable)(Code)
Describes whether the task should be enabled. Default value is true, i.e., execute JBlanket.
Parameters:
  enable - true, on, or yes to execute the task, orfalse, off, or no to not execute thetask.



setExcludeconstructors
public void setExcludeconstructors(String excludeConstructors)(Code)
Describes whether constructors should be excluded from the coverage measurement. Default value is false, i.e., include constructors.
Parameters:
  excludeConstructors - true, on, or yes toexclude constructors, or false, off, orno to include constructors.



setExcludedindividualfile
public void setExcludedindividualfile(String excludedIndividualFile)(Code)
Sets the name of the XML file for individually excluded methods.
Parameters:
  excludedIndividualFile - the exclude individual methods file name.



setExcludeindividualmethods
public void setExcludeindividualmethods(String excludeIndividualMethods)(Code)
Describes whether individual methods should be excluded from the coverage measurement. Default value is false, i.e., do not individually exclude methods.
Parameters:
  excludeIndividualMethods - true, on, or yes toindividually exclude methods, or false,off, or no to not individually exclude methods.



setExcludeonelinemethods
public void setExcludeonelinemethods(String excludeOneLineMethods)(Code)
Describes whether one-line methods should be excluded from the coverage measurement. Default value is false, i.e., include one-line methods.
Parameters:
  excludeOneLineMethods - true, on, or yes toexclude one-line methods, or false,off, or no to include one-linemethods.



setFork
public void setFork(String value)(Code)
Tells whether a JVM should be forked for each testcase -- not implemented.

It avoids interference between testcases and possibly avoids hanging the build. This property is applied on all BatchTest (batchtest) and JUnitTest (test) however it can possibly be overridden by their own properties. (From Ant JUnitTask)

NOTE: possible future addition.
Parameters:
  value - true if a JVM should be forked.




setOnelinefile
public void setOnelinefile(String oneLineFile)(Code)
Sets the name of the XML file for methods containing one line of source code.
Parameters:
  oneLineFile - the one line file name.



setPrintsummary
public void setPrintsummary(String value)(Code)
Tells whether the task should print a short summary of the task -- not implemeneted.

NOTE: possible future addition. This is not needed unless execute JUnit tests inside of JBlanket system vs. currently executing tests outside with JUnit.
Parameters:
  value - true to print a summary,withOutAndErr to include the test's output as well.




setTotalfile
public void setTotalfile(String totalFile)(Code)
Sets the name of the XML file for all methods in the system.
Parameters:
  totalFile - the total file name.



setVerbose
public void setVerbose(String value)(Code)
Describes whether additional output should be sent to standard out. Default value is false, i.e., do not operate in verbose mode.
Parameters:
  value - true, on, or yes to operate in verbosemode, or false, off, or no to not operatein 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.