01: /**********************************************************************************
02: * $URL$
03: * $Id$
04: **********************************************************************************
05: *
06: * Copyright (c) 2005 The Regents of the University of Michigan, Trustees of Indiana University,
07: * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation
08: *
09: * Licensed under the Educational Community License Version 1.0 (the "License");
10: * By obtaining, using and/or copying this Original Work, you agree that you have read,
11: * understand, and will comply with the terms and conditions of the Educational Community License.
12: * You may obtain a copy of the License at:
13: *
14: * http://cvs.sakaiproject.org/licenses/license_1_0.html
15: *
16: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
17: * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
18: * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21: *
22: **********************************************************************************/package org.sakaiproject.api.app.scheduler;
23:
24: import java.util.List;
25:
26: import org.quartz.JobDetail;
27:
28: /**
29: * @author <a href="mailto:jlannan.iupui.edu">Jarrod Lannan</a>
30: * @version $Id: JobDetailWrapper.java,v 1.1 2005/05/31 18:04:09 jlannan.iupui.edu Exp $
31: *
32: */
33: public interface JobDetailWrapper {
34: /**
35: * @return Returns the triggerCount.
36: */
37: public Integer getTriggerCount();
38:
39: /**
40: * @param triggerCount The triggerCount to set.
41: */
42: public void setTriggerCount(Integer triggerCount);
43:
44: /**
45: * @return Returns the triggerWrapperList.
46: */
47: public List getTriggerWrapperList();
48:
49: /**
50: * @param triggerWrapperList The triggerWrapperList to set.
51: */
52: public void setTriggerWrapperList(List triggerWrapperList);
53:
54: /**
55: * @return Returns the jobDetail.
56: */
57: public JobDetail getJobDetail();
58:
59: /**
60: * @param jobDetail The jobDetail to set.
61: */
62: public void setJobDetail(JobDetail jobDetail);
63:
64: /**
65: * @return Returns the isSelected.
66: */
67: public boolean getIsSelected();
68:
69: /**
70: * @param isSelected The isSelected to set.
71: */
72: public void setIsSelected(boolean isSelected);
73:
74: /**
75: * @return bean name if this is a Bean Job or class if not
76: */
77: public String getJobType();
78: }
|