Java Doc for SchedulerService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » kfs » service » 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 » ERP CRM Financial » Kuali Financial System » org.kuali.kfs.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.kfs.service.SchedulerService

All known Subclasses:   org.kuali.kfs.service.impl.SchedulerServiceImpl,
SchedulerService
public interface SchedulerService (Code)


Field Summary
final public static  StringCANCELLED_JOB_STATUS_CODE
    
final public static  StringFAILED_JOB_STATUS_CODE
    
final public static  StringPENDING_JOB_STATUS_CODE
    
final public static  StringRUNNING_JOB_STATUS_CODE
    
final public static  StringSCHEDULED_GROUP
    
final public static  StringSCHEDULED_JOB_STATUS_CODE
    
final public static  StringSUCCEEDED_JOB_STATUS_CODE
    
final public static  StringUNSCHEDULED_GROUP
    


Method Summary
public  voidaddScheduled(JobDetail job)
     Adds the given job to the "scheduled" group.
public  voidaddUnscheduled(JobDetail job)
     Adds the given job to the "unscheduled" group.
public  BatchJobStatusgetJob(String groupName, String jobName)
     Gets a single job based on its name and group.
public  List<String>getJobStatuses()
     Returns a list of all possible statuses.
public  List<BatchJobStatus>getJobs(String groupName)
    
public  List<BatchJobStatus>getJobs()
     Get all jobs known to the scheduler wrapped within a BusinessObject-derived class.
public  DategetNextStartTime(BatchJobStatus job)
     Returns the next start time for the given job.
public  DategetNextStartTime(String groupName, String jobName)
     Returns the next start time for the given job.
public  List<JobExecutionContext>getRunningJobs()
     Returns the list of job currently running within the scheduler.
public  List<String>getSchedulerGroups()
     Returns a list of all groups defined in the scheduler.
public  StringgetStatus(JobDetail jobDetail)
    
public  booleanhasIncompleteJob()
     This method checks whether any jobs in the SCHEDULED job group are pending or currently scheduled.
public  voidinitialize()
    
public  voidinitializeJob(String jobName, Job job)
    
public  voidinterruptJob(String jobName)
     Requests that the given job be stopped as soon as possble.
public  booleanisJobRunning(String jobName)
     Tests whether the referenced job name is running, regardless of group.
public  booleanisPastScheduleCutoffTime()
     This method should be used to determine when the daily batch schedule should terminate.
public  voidlogScheduleResults()
    
public  voidprocessWaitingJobs()
    
public  voidremoveScheduled(String jobName)
     Removes a job from the scheduled group.
public  voidrunJob(String jobName, int startStep, int stopStep, Date startTime, String requestorEmailAddress)
     Immediately runs the specified job.
public  voidrunJob(String jobName, String requestorEmailAddress)
     Immediately runs the specified job.
public  voidsetScheduler(Scheduler scheduler)
    
public  booleanshouldNotRun(JobDetail jobDetail)
    
public  voidupdateStatus(JobDetail jobDetail, String jobStatus)
    

Field Detail
CANCELLED_JOB_STATUS_CODE
final public static String CANCELLED_JOB_STATUS_CODE(Code)



FAILED_JOB_STATUS_CODE
final public static String FAILED_JOB_STATUS_CODE(Code)



PENDING_JOB_STATUS_CODE
final public static String PENDING_JOB_STATUS_CODE(Code)



RUNNING_JOB_STATUS_CODE
final public static String RUNNING_JOB_STATUS_CODE(Code)



SCHEDULED_GROUP
final public static String SCHEDULED_GROUP(Code)



SCHEDULED_JOB_STATUS_CODE
final public static String SCHEDULED_JOB_STATUS_CODE(Code)



SUCCEEDED_JOB_STATUS_CODE
final public static String SUCCEEDED_JOB_STATUS_CODE(Code)



UNSCHEDULED_GROUP
final public static String UNSCHEDULED_GROUP(Code)





Method Detail
addScheduled
public void addScheduled(JobDetail job)(Code)
Adds the given job to the "scheduled" group.
Parameters:
  job -



addUnscheduled
public void addUnscheduled(JobDetail job)(Code)
Adds the given job to the "unscheduled" group.
Parameters:
  job -



getJob
public BatchJobStatus getJob(String groupName, String jobName)(Code)
Gets a single job based on its name and group.
Parameters:
  groupName -
Parameters:
  jobName -



getJobStatuses
public List<String> getJobStatuses()(Code)
Returns a list of all possible statuses.



getJobs
public List<BatchJobStatus> getJobs(String groupName)(Code)



getJobs
public List<BatchJobStatus> getJobs()(Code)
Get all jobs known to the scheduler wrapped within a BusinessObject-derived class.



getNextStartTime
public Date getNextStartTime(BatchJobStatus job)(Code)
Returns the next start time for the given job.
Parameters:
  job -



getNextStartTime
public Date getNextStartTime(String groupName, String jobName)(Code)
Returns the next start time for the given job.
Parameters:
  groupName -
Parameters:
  jobName -



getRunningJobs
public List<JobExecutionContext> getRunningJobs()(Code)
Returns the list of job currently running within the scheduler.



getSchedulerGroups
public List<String> getSchedulerGroups()(Code)
Returns a list of all groups defined in the scheduler.



getStatus
public String getStatus(JobDetail jobDetail)(Code)



hasIncompleteJob
public boolean hasIncompleteJob()(Code)
This method checks whether any jobs in the SCHEDULED job group are pending or currently scheduled. hasIncompleteJob



initialize
public void initialize()(Code)



initializeJob
public void initializeJob(String jobName, Job job)(Code)



interruptJob
public void interruptJob(String jobName)(Code)
Requests that the given job be stopped as soon as possble. It is up to the job to watch for this request and terminiate. Long running steps may not end unless they check for the interrupted status on their current Thread ot Step instance.
Parameters:
  jobName -



isJobRunning
public boolean isJobRunning(String jobName)(Code)
Tests whether the referenced job name is running, regardless of group.
Parameters:
  jobName -



isPastScheduleCutoffTime
public boolean isPastScheduleCutoffTime()(Code)
This method should be used to determine when the daily batch schedule should terminate. It compares the start time of the schedule job from quartz with a time specified by the scheduleStep_CUTOFF_TIME system parameter in the SYSTEM security group on the day after the schedule job started running. pastScheduleCutoffTime



logScheduleResults
public void logScheduleResults()(Code)



processWaitingJobs
public void processWaitingJobs()(Code)



removeScheduled
public void removeScheduled(String jobName)(Code)
Removes a job from the scheduled group.
Parameters:
  jobName -



runJob
public void runJob(String jobName, int startStep, int stopStep, Date startTime, String requestorEmailAddress)(Code)
Immediately runs the specified job.
Parameters:
  jobName -
Parameters:
  startStep -
Parameters:
  stopStep -
Parameters:
  requestorEmailAddress -



runJob
public void runJob(String jobName, String requestorEmailAddress)(Code)
Immediately runs the specified job.
Parameters:
  jobName -
Parameters:
  requestorEmailAddress -



setScheduler
public void setScheduler(Scheduler scheduler)(Code)



shouldNotRun
public boolean shouldNotRun(JobDetail jobDetail)(Code)



updateStatus
public void updateStatus(JobDetail jobDetail, String jobStatus)(Code)



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