Java Doc for Scheduler.java in  » Test-Coverage » Quilt » org » quilt » frontend » 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 » Test Coverage » Quilt » org.quilt.frontend.ant 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.quilt.frontend.ant.Scheduler

Scheduler
public class Scheduler (Code)
Collects individual and batch tests during initial processing of the Ant build.xml file, then schedules tests for running. Before running any tests, batch tests are unpacked and attributes assigned.



Constructor Summary
public  Scheduler(QuiltTask t)
    

Method Summary
public  voidaddBatchTest(BatchTest bt)
     Ant-compatible method for adding a batch test.
public  voidaddTest(QuiltTest test)
     Ant-compatible method for adding test to queue.
public  TaskControlgetTaskControl()
     Get a reference to the TaskControl object created by the constructor.
public  QuiltTestnextTest()
     Returns the next test or batch test available.
public  voidschedule()
     Zero out indexes into lists of tests and batch tests.
public  voidunbatch()
     Pass through the list of batch tests, creating individual tests and passing these to the scheduler.


Constructor Detail
Scheduler
public Scheduler(QuiltTask t)(Code)
One-arg constructor called at beginning of run




Method Detail
addBatchTest
public void addBatchTest(BatchTest bt)(Code)
Ant-compatible method for adding a batch test. When Ant encounters a <batchtest ... it calls QuiltTask.createBatchTest to get an instance, then uses the set* methods to set test parameters for the batch. QuiltTask uses this method to pass the batch test to the Scheduler.
Parameters:
  bt - BatchTest instance created by QuiltTask



addTest
public void addTest(QuiltTest test)(Code)
Ant-compatible method for adding test to queue. When Ant counters a <test name=... it uses this method to create the QuiltTest object and then calls set* methods to set test parameters.
Parameters:
  test - QuiltTest structure containing test parameters.



getTaskControl
public TaskControl getTaskControl()(Code)
Get a reference to the TaskControl object created by the constructor.



nextTest
public QuiltTest nextTest()(Code)
Returns the next test or batch test available. QuiltTest-compatible structure



schedule
public void schedule()(Code)
Zero out indexes into lists of tests and batch tests. This will be called whenever the user wants to rescan the lists of tests and batch tests.



unbatch
public void unbatch()(Code)
Pass through the list of batch tests, creating individual tests and passing these to the scheduler.



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.