Project

General

Profile

« Previous | Next » 

Revision 4971

Added by daigle almost 15 years ago

Beef up comments

View differences:

BaseScheduler.java
1 1
/**
2 2
 *  '$RCSfile$'
3
 *    Purpose: A Class that runs a single scheduled report task 
3
 *    Purpose: An abstract base class for scheduler classes.
4 4
 *  Copyright: 2009 Regents of the University of California and the
5 5
 *             National Center for Ecological Analysis and Synthesis
6 6
 *    Authors: Michael Daigle
......
33 33

  
34 34
public abstract class BaseScheduler {
35 35
	
36
	// Schedule a job by extracting job specific information and registering it with the scheduler 
37
	// service.  
36 38
	public abstract void scheduleJob(HttpServletRequest request, HttpServletResponse response, 
37 39
            Hashtable<String, String[]> params, String username, String[] groups) throws MetacatSchedulerException;
38 40
	
41
	// Unschedule a job in the scheduler service. 
39 42
	public abstract void unScheduleJob(HttpServletRequest request, HttpServletResponse response, 
40 43
			Hashtable<String, String[]> params, String username, String[] groups) throws MetacatSchedulerException;
41 44
	
45
	// Delete a job in the scheduler service. 
42 46
	public abstract void deleteJob(HttpServletRequest request, HttpServletResponse response, 
43 47
			Hashtable<String, String[]> params, String username, String[] groups) throws MetacatSchedulerException;
44 48
	
49
	// get all jobs frpm the scheduler service for a specific type of scheduler.
45 50
	public abstract void getJobs(HttpServletRequest request, HttpServletResponse response, 
46 51
			Hashtable<String, String[]> params, String username, String[] groups) throws MetacatSchedulerException;
47 52
}

Also available in: Unified diff