View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.ksb.messaging.web;
17  
18  import org.apache.struts.action.ActionForm;
19  import org.quartz.JobDetail;
20  import org.quartz.Trigger;
21  
22  
23  /**
24   * Struts form for quartz queue processing 
25   * 
26   * @author Kuali Rice Team (rice.collab@kuali.org)
27   *
28   */
29  public class QuartzQueueForm extends ActionForm {
30  
31      private static final long serialVersionUID = 4589673941470488079L;
32      
33      private String jobName;
34      private String jobGroup;
35      private JobDetail jobDetail;
36      private Trigger trigger;
37      
38      public QuartzQueueForm() {}
39      
40      public QuartzQueueForm(JobDetail jobDetail, Trigger trigger) {
41  	this.jobDetail = jobDetail;
42  	this.trigger = trigger;
43      }
44      
45      public JobDetail getJobDetail() {
46          return this.jobDetail;
47      }
48      public void setJobDetail(JobDetail jobDetail) {
49          this.jobDetail = jobDetail;
50      }
51      public Trigger getTrigger() {
52          return this.trigger;
53      }
54      public void setTrigger(Trigger trigger) {
55          this.trigger = trigger;
56      }
57      public String getJobGroup() {
58          return this.jobGroup;
59      }
60      public void setJobGroup(String jobGroup) {
61          this.jobGroup = jobGroup;
62      }
63      public String getJobName() {
64          return this.jobName;
65      }
66      public void setJobName(String jobName) {
67          this.jobName = jobName;
68      }   
69  }